Bug 1738926 Part 1: Check if sublayers need to be rebuilt. r=mstange
[gecko.git] / accessible / mac / MOXWebAreaAccessible.h
blob1ef11af50c09cad31ee3b71a22456ac3a6236212
1 /* clang-format off */
2 /* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
3 /* clang-format on */
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;
12 @class MOXRootGroup;
14 @interface MOXWebAreaAccessible : mozAccessible {
15 MOXRootGroup* mRootGroup;
17 // overrides
18 - (NSString*)moxRole;
20 // overrides
21 - (NSString*)moxRoleDescription;
23 // overrides
24 - (NSURL*)moxURL;
26 // override
27 - (NSNumber*)moxLoaded;
29 // override
30 - (NSNumber*)moxLoadingProgress;
32 // override
33 - (NSArray*)moxLinkUIElements;
35 // override
36 - (NSArray*)moxUnignoredChildren;
38 // override
39 - (BOOL)moxBlockSelector:(SEL)selector;
41 // override
42 - (void)moxPostNotification:(NSString*)notification;
44 // override
45 - (void)handleAccessibleEvent:(uint32_t)eventType;
47 // override
48 - (void)dealloc;
50 - (NSArray*)rootGroupChildren;
52 - (id)rootGroup;
54 @end
56 @interface MOXRootGroup : MOXAccessibleBase {
57 MOXWebAreaAccessible* mParent;
60 // override
61 - (id)initWithParent:(MOXWebAreaAccessible*)parent;
63 // override
64 - (NSString*)moxRole;
66 // override
67 - (NSString*)moxRoleDescription;
69 // override
70 - (id<mozAccessible>)moxParent;
72 // override
73 - (NSArray*)moxChildren;
75 // override
76 - (NSString*)moxIdentifier;
78 // override
79 - (NSString*)moxSubrole;
81 // override
82 - (id)moxHitTest:(NSPoint)point;
84 // override
85 - (NSValue*)moxPosition;
87 // override
88 - (NSValue*)moxSize;
90 // override
91 - (NSArray*)moxUIElementsForSearchPredicate:(NSDictionary*)searchPredicate;
93 // override
94 - (NSNumber*)moxUIElementCountForSearchPredicate:(NSDictionary*)searchPredicate;
96 // override
97 - (BOOL)disableChild:(id)child;
99 // override
100 - (void)expire;
102 // override
103 - (BOOL)isExpired;
105 @end