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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user