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

Unified Diff: ui/accessibility/ax_enums.h

Issue 67283004: First step to move common accessibility code out of content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Git rid of AX_EXPORT from templatized function Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/accessibility/accessibility.gyp ('k') | ui/accessibility/ax_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_enums.h
diff --git a/ui/accessibility/ax_enums.h b/ui/accessibility/ax_enums.h
new file mode 100644
index 0000000000000000000000000000000000000000..e2edb5d138fd40b43dd343b55fd4da896e0ff8f2
--- /dev/null
+++ b/ui/accessibility/ax_enums.h
@@ -0,0 +1,124 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_ACCESSIBILITY_AX_ROLES_H_
+#define UI_ACCESSIBILITY_AX_ROLES_H_
+
+// These should be kept in sync with third_party/WebKit/public/web/WebAXEnums.h
+// until the Chromium and Blink trees are merged.
+enum AXRole {
+ AX_ROLE_ALERT_DIALOG = 1,
+ AX_ROLE_ALERT,
+ AX_ROLE_ANNOTATION,
+ AX_ROLE_APPLICATION,
+ AX_ROLE_ARTICLE,
+ AX_ROLE_BANNER,
+ AX_ROLE_BROWSER,
+ AX_ROLE_BUSY_INDICATOR,
+ AX_ROLE_BUTTON,
+ AX_ROLE_CANVAS,
+ AX_ROLE_CELL,
+ AX_ROLE_CHECK_BOX,
+ AX_ROLE_COLOR_WELL,
+ AX_ROLE_COLUMN_HEADER,
+ AX_ROLE_COLUMN,
+ AX_ROLE_COMBO_BOX,
+ AX_ROL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ATOR,
+ AX_ROLE_RADIO_BUTTON,
+ AX_ROLE_RADIO_GROUP,
+ AX_ROLE_REGION,
+ AX_ROLE_ROOT_WEB_AREA,
+ AX_ROLE_ROW_HEADER,
+ AX_ROLE_ROW,
+ AX_ROLE_RULER_MARKER,
+ AX_ROLE_RULER,
+ AX_ROLE_SVG_ROOT,
+ AX_ROLE_SCROLL_AREA,
+ AX_ROLE_SCROLL_BAR,
+ AX_ROLE_SEAMLESS_WEB_AREA,
+ AX_ROLE_SEARCH,
+ AX_ROLE_SHEET,
+ AX_ROLE_SLIDER,
+ AX_ROLE_SLIDER_THUMB,
+ AX_ROLE_SPIN_BUTTON_PART,
+ AX_ROLE_SPIN_BUTTON,
+ AX_ROLE_SPLIT_GROUP,
+ AX_ROLE_SPLITTER,
+ AX_ROLE_STATIC_TEXT,
+ AX_ROLE_STATUS,
+ AX_ROLE_SYSTEM_WIDE,
+ AX_ROLE_TAB_GROUP,
+ AX_ROLE_TAB_LIST,
+ AX_ROLE_TAB_PANEL,
+ AX_ROLE_TAB,
+ AX_ROLE_TABLE_HEADER_CONTAINER,
+ AX_ROLE_TABLE,
+ AX_ROLE_TEXT_AREA,
+ AX_ROLE_TEXT_FIELD,
+ AX_ROLE_TIMER,
+ AX_ROLE_TOGGLE_BUTTON,
+ AX_ROLE_TOOLBAR,
+ AX_ROLE_TREE_GRID,
+ AX_ROLE_TREE_ITEM,
+ AX_ROLE_TREE,
+ AX_ROLE_UNKNOWN,
+ AX_ROLE_USER_INTERFACE_TOOLTIP,
+ AX_ROLE_VALUE_INDICATOR,
+ AX_ROLE_WEB_AREA,
+ AX_ROLE_WINDOW
+};
+
+#endif // UI_ACCESSIBILITY_AX_ROLES_H_
« no previous file with comments | « ui/accessibility/accessibility.gyp ('k') | ui/accessibility/ax_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698