Bug 1363278 Get rid of nsIPhonetic and HTMLInputElement.phonetic r=smaug

Nobody uses them anymore.  Therefore, we can remove them from the tree.

MozReview-Commit-ID: KTqCeI2eeFW
This commit is contained in:
Masayuki Nakano
2017-05-09 16:27:08 +09:00
parent e8099b1958
commit ae7337ffda
10 changed files with 0 additions and 114 deletions

View File

@@ -13,7 +13,6 @@
#include "nsCSSPseudoElements.h"
#include "nsGenericHTMLElement.h"
#include "nsIEditor.h"
#include "nsIPhonetic.h"
#include "nsTextFragment.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "nsNameSpaceManager.h"
@@ -1097,22 +1096,6 @@ nsTextControlFrame::GetText(nsString& aText)
}
nsresult
nsTextControlFrame::GetPhonetic(nsAString& aPhonetic)
{
aPhonetic.Truncate(0);
nsCOMPtr<nsIEditor> editor;
nsresult rv = GetEditor(getter_AddRefs(editor));
NS_ENSURE_SUCCESS(rv, rv);
nsCOMPtr<nsIPhonetic> phonetic = do_QueryInterface(editor);
if (phonetic) {
phonetic->GetPhonetic(aPhonetic);
}
return NS_OK;
}
///END NSIFRAME OVERLOADS
/////BEGIN PROTECTED METHODS