зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1733457 - Remove unused LocalAccessible::MaybeFireFocusableStateChange. r=morgan
Differential Revision: https://phabricator.services.mozilla.com/D127156
This commit is contained in:
Родитель
a41b48f764
Коммит
da1f9f11d1
|
@ -3056,15 +3056,6 @@ already_AddRefed<AccAttributes> LocalAccessible::BundleFieldsForCache(
|
|||
return fields.forget();
|
||||
}
|
||||
|
||||
void LocalAccessible::MaybeFireFocusableStateChange(bool aPreviouslyFocusable) {
|
||||
bool isFocusable = (State() & states::FOCUSABLE);
|
||||
if (isFocusable != aPreviouslyFocusable) {
|
||||
RefPtr<AccEvent> focusableChangeEvent =
|
||||
new AccStateChangeEvent(this, states::FOCUSABLE, isFocusable);
|
||||
mDoc->FireDelayedEvent(focusableChangeEvent);
|
||||
}
|
||||
}
|
||||
|
||||
void LocalAccessible::GetPositionAndSizeInternal(int32_t* aPosInSet,
|
||||
int32_t* aSetSize) {
|
||||
AccGroupInfo* groupInfo = GetGroupInfo();
|
||||
|
|
|
@ -877,12 +877,6 @@ class LocalAccessible : public nsISupports, public Accessible {
|
|||
|
||||
void Announce(const nsAString& aAnnouncement, uint16_t aPriority);
|
||||
|
||||
/**
|
||||
* Fire a focusable state change event if the previous state
|
||||
* was different.
|
||||
*/
|
||||
void MaybeFireFocusableStateChange(bool aPreviouslyFocusable);
|
||||
|
||||
virtual bool IsRemote() const override { return false; }
|
||||
|
||||
already_AddRefed<AccAttributes> BundleFieldsForCache(
|
||||
|
|
Загрузка…
Ссылка в новой задаче