Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Side by Side Diff: chrome/common/accessibility_types.h

Issue 93085: Removes the use of Windows-specific types for accessibility roles and states ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/common/common.vcproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_COMMON_ACCESSIBILITY_TYPES_H_
6 #define CHROME_COMMON_ACCESSIBILITY_TYPES_H_
7
8 ////////////////////////////////////////////////////////////////////////////////
9 //
10 // AccessibilityTypes
11 //
12 // Provides enumerations used to preserve platform-independence in accessibility
13 // functions used in various Views, both in Browser\Views and Views.
14 //
15 ////////////////////////////////////////////////////////////////////////////////
16 class AccessibilityTypes {
17 public:
18 // This defines an enumeration of the supported accessibility roles in our
19 // Views (e.g. used in View::GetAccessibleRole). Any interface using roles
20 // must provide a conversion to its own roles (see e.g.
21 // ViewAccessibility::get_accRole and ViewAccessibility::MSAARole).
22 enum Role {
23 ROLE_APPLICATION,
24 ROLE_BUTTONDROPDOWN,
25 ROLE_CLIENT,
26 ROLE_GROUPING,
27 ROLE_PAGETAB,
28 ROLE_PUSHBUTTON,
29 ROLE_TEXT,
30 ROLE_TOOLBAR
31 };
32
33 // This defines an enumeration of the supported accessibility roles in our
34 // Views (e.g. used in View::GetAccessibleState). Any interface using roles
35 // must provide a conversion to its own roles (see e.g.
36 // ViewAccessibility::get_accState and ViewAccessibility::MSAAState).
37 enum State {
38 STATE_HASPOPUP,
39 STATE_READONLY
40 };
41
42 private:
43 // Do not instantiate this class.
44 AccessibilityTypes() {}
45 ~AccessibilityTypes() {}
46 };
47
48 #endif // CHROME_COMMON_ACCESSIBILITY_TYPES_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/toolbar_view.cc ('k') | chrome/common/common.vcproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698