accessible/mac/mozActionElements.h
author Gregory Szorc <gps@mozilla.com>
Wed, 20 Jul 2016 09:21:38 -0700
changeset 390086 5fa517a2ac0dd948a2826c7031ee3784f528b40a
parent 268759 6fda72452cf9d1ef9647e0c671a8e96f5b71cceb
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
permissions -rw-r--r--
Bug 1247168 - Change decision image to Ubuntu 16.04; r?dustin We're currently running Ubuntu 14.04 in the decision image. While still in LTS support, 16.04 ships with a modern, properly configured Python 2.7. So we upgrade to 16.04 and drop the install of Python from source because it is no longer needed. This is part 1 of a larger refactor to this image.

/* -*- Mode: Objective-C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 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 <Cocoa/Cocoa.h>
#import "mozAccessible.h"

/* Simple subclasses for things like checkboxes, buttons, etc. */

@interface mozButtonAccessible : mozAccessible
 {
 }
- (BOOL)hasPopup;
- (void)click;
- (BOOL)isTab;
@end

@interface mozCheckboxAccessible : mozButtonAccessible
// returns one of the constants defined in CheckboxValue
- (int)isChecked;
@end

/* Class for tabs - not individual tabs */
@interface mozTabsAccessible : mozAccessible
{
  NSMutableArray* mTabs;
}
-(id)tabs;
@end

/**
 * Accessible for a PANE
 */
@interface mozPaneAccessible : mozAccessible

@end