2 /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #import "mozAccessible.h"
10 using namespace mozilla::a11y
;
14 @interface MOXWebAreaAccessible
: mozAccessible
{
15 MOXRootGroup
* mRootGroup
;
21 - (NSString
*)moxRoleDescription
;
27 - (NSNumber
*)moxLoaded
;
30 - (NSNumber
*)moxLoadingProgress
;
33 - (NSArray
*)moxLinkUIElements
;
36 - (NSArray
*)moxUnignoredChildren
;
39 - (BOOL
)moxBlockSelector
:(SEL
)selector
;
42 - (void)moxPostNotification
:(NSString
*)notification
;
45 - (void)handleAccessibleEvent
:(uint32_t)eventType
;
50 - (NSArray
*)rootGroupChildren
;
56 @interface MOXRootGroup
: MOXAccessibleBase
{
57 MOXWebAreaAccessible
* mParent
;
61 - (id
)initWithParent
:(MOXWebAreaAccessible
*)parent
;
67 - (NSString
*)moxRoleDescription
;
70 - (id
<mozAccessible
>)moxParent
;
73 - (NSArray
*)moxChildren
;
76 - (NSString
*)moxIdentifier
;
79 - (NSString
*)moxSubrole
;
82 - (id
)moxHitTest
:(NSPoint
)point
;
85 - (NSValue
*)moxPosition
;
91 - (NSArray
*)moxUIElementsForSearchPredicate
:(NSDictionary
*)searchPredicate
;
94 - (NSNumber
*)moxUIElementCountForSearchPredicate
:(NSDictionary
*)searchPredicate
;
97 - (BOOL
)disableChild
:(id
)child
;