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

Side by Side Diff: chrome/browser/extensions/extension_accessibility_api_constants.cc

Issue 1432003: Minor C++ fixes found by Clang. (Closed)
Patch Set: rebase Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 wchar_t kTypeKey[] = L"type"; 10 const wchar_t kTypeKey[] = L"type";
11 const wchar_t kNameKey[] = L"name"; 11 const wchar_t kNameKey[] = L"name";
12 const wchar_t kDetailsKey[] = L"details"; 12 const wchar_t kDetailsKey[] = L"details";
13 const wchar_t kValueKey[] = L"details.value"; 13 const wchar_t kValueKey[] = L"details.value";
14 const wchar_t kPasswordKey[] = L"details.isPassword"; 14 const wchar_t kPasswordKey[] = L"details.isPassword";
15 const wchar_t kItemCountKey[] = L"details.itemCount"; 15 const wchar_t kItemCountKey[] = L"details.itemCount";
16 const wchar_t kItemIndexKey[] = L"details.itemIndex"; 16 const wchar_t kItemIndexKey[] = L"details.itemIndex";
17 const wchar_t kSelectionStartKey[] = L"details.selectionStart"; 17 const wchar_t kSelectionStartKey[] = L"details.selectionStart";
18 const wchar_t kSelectionEndKey[] = L"details.selectionEnd"; 18 const wchar_t kSelectionEndKey[] = L"details.selectionEnd";
19 const wchar_t kCheckedKey[] = L"details.isChecked"; 19 const wchar_t kCheckedKey[] = L"details.isChecked";
20 20
21 // Events. 21 // Events.
22 const char kOnWindowOpened[] = "experimental.accessibility.onWindowOpened"; 22 const char kOnWindowOpened[] = "experimental.accessibility.onWindowOpened";
23 const char kOnWindowClosed[] = "experimental.accessibility.onWindowClosed"; 23 const char kOnWindowClosed[] = "experimental.accessibility.onWindowClosed";
24 const char kOnControlFocused[] = "experimental.accessibility.onControlFocused"; 24 const char kOnControlFocused[] = "experimental.accessibility.onControlFocused";
25 const char kOnControlAction[] = "experimental.accessibility.onControlAction"; 25 const char kOnControlAction[] = "experimental.accessibility.onControlAction";
26 const char kOnTextChanged[] = "experimental.accessibility.onTextChanged"; 26 const char kOnTextChanged[] = "experimental.accessibility.onTextChanged";
27 27
28 // Types of controls that can receive accessibility events. 28 // Types of controls that can receive accessibility events.
29 extern const char kTypeButton[] = "button"; 29 const char kTypeButton[] = "button";
30 extern const char kTypeCheckbox[] = "checkbox"; 30 const char kTypeCheckbox[] = "checkbox";
31 extern const char kTypeComboBox[] = "combobox"; 31 const char kTypeComboBox[] = "combobox";
32 extern const char kTypeLink[] = "link"; 32 const char kTypeLink[] = "link";
33 extern const char kTypeListBox[] = "listbox"; 33 const char kTypeListBox[] = "listbox";
34 extern const char kTypeRadioButton[] = "radiobutton"; 34 const char kTypeRadioButton[] = "radiobutton";
35 extern const char kTypeTab[] = "tab"; 35 const char kTypeTab[] = "tab";
36 extern const char kTypeTextBox[] = "textbox"; 36 const char kTypeTextBox[] = "textbox";
37 extern const char kTypeWindow[] = "window"; 37 const char kTypeWindow[] = "window";
38 38
39 } // namespace extension_accessibility_api_constants 39 } // namespace extension_accessibility_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698