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

@@ -21,7 +21,6 @@
#include "nsITextControlElement.h"
#include "nsIDOMNSEditableElement.h"
#include "nsIRadioVisitor.h"
#include "nsIPhonetic.h"
#include "InputType.h"
#include "HTMLFormSubmissionConstants.h"
@@ -1269,7 +1268,6 @@ NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(HTMLInputElement)
NS_INTERFACE_TABLE_INHERITED(HTMLInputElement,
nsIDOMHTMLInputElement,
nsITextControlElement,
nsIPhonetic,
imgINotificationObserver,
nsIImageLoadingContent,
imgIOnloadBlocker,
@@ -6536,19 +6534,6 @@ HTMLInputElement::SetSelectionDirection(const nsAString& aDirection, ErrorResult
state->SetSelectionDirection(aDirection, aRv);
}
NS_IMETHODIMP
HTMLInputElement::GetPhonetic(nsAString& aPhonetic)
{
aPhonetic.Truncate();
nsIFormControlFrame* formControlFrame = GetFormControlFrame(true);
nsITextControlFrame* textControlFrame = do_QueryFrame(formControlFrame);
if (textControlFrame) {
textControlFrame->GetPhonetic(aPhonetic);
}
return NS_OK;
}
#ifdef ACCESSIBILITY
/*static*/ nsresult
FireEventForAccessibility(nsIDOMHTMLInputElement* aTarget,