| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" | 5 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" |
| 6 | 6 |
| 7 namespace extension_accessibility_api_constants { | 7 namespace extension_accessibility_api_constants { |
| 8 | 8 |
| 9 // String keys for AccessibilityObject properties. | 9 // String keys for AccessibilityObject properties. |
| 10 const char kTypeKey[] = "type"; | 10 const char kTypeKey[] = "type"; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 // Events. | 24 // Events. |
| 25 const char kOnWindowOpened[] = "experimental.accessibility.onWindowOpened"; | 25 const char kOnWindowOpened[] = "experimental.accessibility.onWindowOpened"; |
| 26 const char kOnWindowClosed[] = "experimental.accessibility.onWindowClosed"; | 26 const char kOnWindowClosed[] = "experimental.accessibility.onWindowClosed"; |
| 27 const char kOnControlFocused[] = "experimental.accessibility.onControlFocused"; | 27 const char kOnControlFocused[] = "experimental.accessibility.onControlFocused"; |
| 28 const char kOnControlAction[] = "experimental.accessibility.onControlAction"; | 28 const char kOnControlAction[] = "experimental.accessibility.onControlAction"; |
| 29 const char kOnTextChanged[] = "experimental.accessibility.onTextChanged"; | 29 const char kOnTextChanged[] = "experimental.accessibility.onTextChanged"; |
| 30 const char kOnMenuOpened[] = "experimental.accessibility.onMenuOpened"; | 30 const char kOnMenuOpened[] = "experimental.accessibility.onMenuOpened"; |
| 31 const char kOnMenuClosed[] = "experimental.accessibility.onMenuClosed"; | 31 const char kOnMenuClosed[] = "experimental.accessibility.onMenuClosed"; |
| 32 const char kOnVolumeChanged[] = "experimental.accessibility.onVolumeChanged"; | 32 const char kOnVolumeChanged[] = "experimental.accessibility.onVolumeChanged"; |
| 33 const char kOnScreenUnlocked[] = "experimental.accessibility.onScreenUnlocked"; |
| 34 const char kOnWokeUp[] = "experimental.accessibility.onWokeUp"; |
| 33 | 35 |
| 34 // Types of controls that can receive accessibility events. | 36 // Types of controls that can receive accessibility events. |
| 35 const char kTypeButton[] = "button"; | 37 const char kTypeButton[] = "button"; |
| 36 const char kTypeCheckbox[] = "checkbox"; | 38 const char kTypeCheckbox[] = "checkbox"; |
| 37 const char kTypeComboBox[] = "combobox"; | 39 const char kTypeComboBox[] = "combobox"; |
| 38 const char kTypeLink[] = "link"; | 40 const char kTypeLink[] = "link"; |
| 39 const char kTypeListBox[] = "listbox"; | 41 const char kTypeListBox[] = "listbox"; |
| 40 const char kTypeMenu[] = "menu"; | 42 const char kTypeMenu[] = "menu"; |
| 41 const char kTypeMenuItem[] = "menuitem"; | 43 const char kTypeMenuItem[] = "menuitem"; |
| 42 const char kTypeRadioButton[] = "radiobutton"; | 44 const char kTypeRadioButton[] = "radiobutton"; |
| 43 const char kTypeTab[] = "tab"; | 45 const char kTypeTab[] = "tab"; |
| 44 const char kTypeTextBox[] = "textbox"; | 46 const char kTypeTextBox[] = "textbox"; |
| 45 const char kTypeWindow[] = "window"; | 47 const char kTypeWindow[] = "window"; |
| 46 | 48 |
| 47 } // namespace extension_accessibility_api_constants | 49 } // namespace extension_accessibility_api_constants |
| OLD | NEW |