зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1624729 - Add a nativeInterface attribute to nsIAccessible. r=yzen
Differential Revision: https://phabricator.services.mozilla.com/D68122 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2eaf9ee039
Коммит
325f958e21
|
@ -172,6 +172,11 @@ interface nsIAccessible : nsISupports
|
|||
*/
|
||||
readonly attribute nsIPersistentProperties attributes;
|
||||
|
||||
/**
|
||||
* Platform specific interface for accessible
|
||||
*/
|
||||
readonly attribute nsISupports nativeInterface;
|
||||
|
||||
/**
|
||||
* Returns grouping information. Used for tree items, list items, tab panel
|
||||
* labels, radio buttons, etc. Also used for collectons of non-text objects.
|
||||
|
|
|
@ -383,6 +383,11 @@ xpcAccessible::GetAttributes(nsIPersistentProperties** aAttributes) {
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
xpcAccessible::GetNativeInterface(nsISupports** aNativeInterface) {
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
xpcAccessible::GetBounds(int32_t* aX, int32_t* aY, int32_t* aWidth,
|
||||
int32_t* aHeight) {
|
||||
|
|
|
@ -52,6 +52,9 @@ class xpcAccessible : public nsIAccessible {
|
|||
NS_IMETHOD GetKeyboardShortcut(nsAString& aKeyBinding) final;
|
||||
|
||||
NS_IMETHOD GetAttributes(nsIPersistentProperties** aAttributes) final;
|
||||
|
||||
NS_IMETHOD GetNativeInterface(nsISupports** aNativeInterface) final;
|
||||
|
||||
NS_IMETHOD GetBounds(int32_t* aX, int32_t* aY, int32_t* aWidth,
|
||||
int32_t* aHeight) final;
|
||||
NS_IMETHOD GetBoundsInCSSPixels(int32_t* aX, int32_t* aY, int32_t* aWidth,
|
||||
|
|
Загрузка…
Ссылка в новой задаче