2015-10-01 17:00:00 +03:00
|
|
|
/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim:expandtab:shiftwidth=2:tabstop=2:
|
|
|
|
*/
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#import "mozAccessible.h"
|
|
|
|
|
2020-04-06 19:51:11 +03:00
|
|
|
@interface mozColumnContainer : NSObject {
|
|
|
|
uint32_t mIndex;
|
|
|
|
mozAccessible* mParent;
|
|
|
|
NSMutableArray* mChildren;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (id)initWithIndex:(uint32_t)aIndex andParent:(id<mozAccessible>)aParent;
|
|
|
|
- (NSString*)accessibilityRole;
|
|
|
|
- (NSString*)accessibilityRoleDescription;
|
|
|
|
- (mozAccessible*)accessibilityParent;
|
|
|
|
- (NSArray*)accessibilityChildren;
|
|
|
|
- (BOOL)accessibilityIsIgnored;
|
|
|
|
- (void)invalidateChildren;
|
|
|
|
- (void)dealloc;
|
|
|
|
- (void)expire;
|
|
|
|
- (BOOL)isExpired;
|
|
|
|
- (BOOL)accessibilityNotifiesWhenDestroyed;
|
|
|
|
@end
|
|
|
|
|
2015-10-01 17:00:00 +03:00
|
|
|
@interface mozTablePartAccessible : mozAccessible
|
2020-03-26 18:45:04 +03:00
|
|
|
- (id)accessibilityAttributeValue:(NSString*)attribute;
|
2015-10-01 17:00:00 +03:00
|
|
|
- (BOOL)isLayoutTablePart;
|
|
|
|
- (NSString*)role;
|
|
|
|
@end
|
|
|
|
|
2020-04-06 19:51:11 +03:00
|
|
|
@interface mozTableAccessible : mozTablePartAccessible {
|
|
|
|
NSMutableArray* mColContainers;
|
|
|
|
}
|
|
|
|
- (NSArray*)children;
|
2015-10-01 17:00:00 +03:00
|
|
|
- (NSArray*)additionalAccessibilityAttributeNames;
|
|
|
|
- (id)accessibilityAttributeValue:(NSString*)attribute;
|
2020-04-10 20:53:41 +03:00
|
|
|
- (void)invalidateColumns;
|
|
|
|
- (void)handleAccessibleEvent:(uint32_t)eventType;
|
2020-04-06 19:51:11 +03:00
|
|
|
- (void)dealloc;
|
2015-10-01 17:00:00 +03:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface mozTableRowAccessible : mozTablePartAccessible
|
|
|
|
- (NSArray*)additionalAccessibilityAttributeNames;
|
2020-04-10 20:53:41 +03:00
|
|
|
- (void)handleAccessibleEvent:(uint32_t)eventType;
|
2015-10-01 17:00:00 +03:00
|
|
|
- (id)accessibilityAttributeValue:(NSString*)attribute;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface mozTableCellAccessible : mozTablePartAccessible
|
|
|
|
- (NSArray*)additionalAccessibilityAttributeNames;
|
|
|
|
- (id)accessibilityAttributeValue:(NSString*)attribute;
|
|
|
|
@end
|