| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright (c) 2010 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 #include "chrome/browser/extensions/extension_accessibility_api_constants.h" | 
|  | 6 | 
|  | 7 namespace extension_accessibility_api_constants { | 
|  | 8 | 
|  | 9 // String keys for AccessibilityObject properties. | 
|  | 10 const wchar_t kTypeKey[] = L"type"; | 
|  | 11 const wchar_t kNameKey[] = L"name"; | 
|  | 12 const wchar_t kDetailsKey[] = L"details"; | 
|  | 13 const wchar_t kValueKey[] = L"details.value"; | 
|  | 14 const wchar_t kPasswordKey[] = L"details.isPassword"; | 
|  | 15 const wchar_t kItemCountKey[] = L"details.itemCount"; | 
|  | 16 const wchar_t kItemIndexKey[] = L"details.itemIndex"; | 
|  | 17 const wchar_t kSelectionStartKey[] = L"details.selectionStart"; | 
|  | 18 const wchar_t kSelectionEndKey[] = L"details.selectionEnd"; | 
|  | 19 const wchar_t kCheckedKey[] = L"details.isChecked"; | 
|  | 20 | 
|  | 21 // Events. | 
|  | 22 const char kOnWindowOpened[] = "experimental.accessibility.onWindowOpened"; | 
|  | 23 const char kOnWindowClosed[] = "experimental.accessibility.onWindowClosed"; | 
|  | 24 const char kOnControlFocused[] = "experimental.accessibility.onControlFocused"; | 
|  | 25 const char kOnControlAction[] = "experimental.accessibility.onControlAction"; | 
|  | 26 const char kOnTextChanged[] = "experimental.accessibility.onTextChanged"; | 
|  | 27 | 
|  | 28 // Types of controls that can receive accessibility events. | 
|  | 29 extern const char kTypeButton[] = "button"; | 
|  | 30 extern const char kTypeCheckbox[] = "checkbox"; | 
|  | 31 extern const char kTypeComboBox[] = "combobox"; | 
|  | 32 extern const char kTypeLink[] = "link"; | 
|  | 33 extern const char kTypeRadioButton[] = "radiobutton"; | 
|  | 34 extern const char kTypeTab[] = "tab"; | 
|  | 35 extern const char kTypeTextBox[] = "textbox"; | 
|  | 36 extern const char kTypeWindow[] = "window"; | 
|  | 37 | 
|  | 38 }  // namespace extension_accessibility_api_constants | 
| OLD | NEW | 
|---|