1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/accessible/src/mac/mozActionElements.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#import <Cocoa/Cocoa.h> 1.10 +#import "mozAccessible.h" 1.11 + 1.12 +/* Simple subclasses for things like checkboxes, buttons, etc. */ 1.13 + 1.14 +@interface mozButtonAccessible : mozAccessible 1.15 +- (void)click; 1.16 +- (BOOL)isTab; 1.17 +@end 1.18 + 1.19 +@interface mozCheckboxAccessible : mozButtonAccessible 1.20 +// returns one of the constants defined in CheckboxValue 1.21 +- (int)isChecked; 1.22 +@end 1.23 + 1.24 +/* Used for buttons that may pop up a menu. */ 1.25 +@interface mozPopupButtonAccessible : mozButtonAccessible 1.26 +@end 1.27 + 1.28 +/* Class for tabs - not individual tabs */ 1.29 +@interface mozTabsAccessible : mozAccessible 1.30 +{ 1.31 + NSMutableArray* mTabs; 1.32 +} 1.33 +-(id)tabs; 1.34 +@end 1.35 + 1.36 +/** 1.37 + * Accessible for a PANE 1.38 + */ 1.39 +@interface mozPaneAccessible : mozAccessible 1.40 + 1.41 +@end