summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_accessibility_api_constants.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 01:18:56 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-30 01:18:56 +0000
commit5cbe1e21980f42927d7d1c11cc860131be266e7e (patch)
tree3b52e15044336cb89e3004214b4714e6148e5ea9 /chrome/browser/extensions/extension_accessibility_api_constants.h
parent7a12518454d36fb4ac79431f56106b38cd2482ab (diff)
downloadchromium_src-5cbe1e21980f42927d7d1c11cc860131be266e7e.zip
chromium_src-5cbe1e21980f42927d7d1c11cc860131be266e7e.tar.gz
chromium_src-5cbe1e21980f42927d7d1c11cc860131be266e7e.tar.bz2
Add an accessibility API for events raised outside of the web content.
BUG=none TEST=none patch by Dominic Mazzoni <dmazzoni [at] google> review url: http://codereview.chromium.org/402099/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37597 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_accessibility_api_constants.h')
-rw-r--r--chrome/browser/extensions/extension_accessibility_api_constants.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_accessibility_api_constants.h b/chrome/browser/extensions/extension_accessibility_api_constants.h
new file mode 100644
index 0000000..2020ec8
--- /dev/null
+++ b/chrome/browser/extensions/extension_accessibility_api_constants.h
@@ -0,0 +1,43 @@
+// Copyright (c) 2010 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.
+
+// Constants used to for the Accessibility API.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_
+
+namespace extension_accessibility_api_constants {
+
+// Keys.
+extern const wchar_t kTypeKey[];
+extern const wchar_t kNameKey[];
+extern const wchar_t kDetailsKey[];
+extern const wchar_t kValueKey[];
+extern const wchar_t kPasswordKey[];
+extern const wchar_t kItemCountKey[];
+extern const wchar_t kItemIndexKey[];
+extern const wchar_t kSelectionStartKey[];
+extern const wchar_t kSelectionEndKey[];
+extern const wchar_t kCheckedKey[];
+
+// Events.
+extern const char kOnWindowOpened[];
+extern const char kOnWindowClosed[];
+extern const char kOnControlFocused[];
+extern const char kOnControlAction[];
+extern const char kOnTextChanged[];
+
+// Types of controls that can receive accessibility events
+extern const char kTypeButton[];
+extern const char kTypeCheckbox[];
+extern const char kTypeComboBox[];
+extern const char kTypeLink[];
+extern const char kTypeRadioButton[];
+extern const char kTypeTab[];
+extern const char kTypeTextBox[];
+extern const char kTypeWindow[];
+
+}; // namespace extension_accessibility_api_constants
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_ACCESSIBILITY_API_CONSTANTS_H_