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

Side by Side Diff: chrome/browser/accessibility/accessibility_extension_api_constants.cc

Issue 8850004: Add a context field to the accessibility extension API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
OLDNEW
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/accessibility/accessibility_extension_api_constants.h" 5 #include "chrome/browser/accessibility/accessibility_extension_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";
11 const char kNameKey[] = "name"; 11 const char kNameKey[] = "name";
12 const char kContextKey[] = "context";
12 const char kDetailsKey[] = "details"; 13 const char kDetailsKey[] = "details";
13 const char kValueKey[] = "details.value"; 14 const char kValueKey[] = "details.value";
14 const char kPasswordKey[] = "details.isPassword"; 15 const char kPasswordKey[] = "details.isPassword";
15 const char kItemCountKey[] = "details.itemCount"; 16 const char kItemCountKey[] = "details.itemCount";
16 const char kItemIndexKey[] = "details.itemIndex"; 17 const char kItemIndexKey[] = "details.itemIndex";
17 const char kSelectionStartKey[] = "details.selectionStart"; 18 const char kSelectionStartKey[] = "details.selectionStart";
18 const char kSelectionEndKey[] = "details.selectionEnd"; 19 const char kSelectionEndKey[] = "details.selectionEnd";
19 const char kCheckedKey[] = "details.isChecked"; 20 const char kCheckedKey[] = "details.isChecked";
20 const char kHasSubmenuKey[] = "details.hasSubmenu"; 21 const char kHasSubmenuKey[] = "details.hasSubmenu";
21 const char kVolumeKey[] = "volume"; 22 const char kVolumeKey[] = "volume";
(...skipping 18 matching lines...) Expand all
40 const char kTypeLink[] = "link"; 41 const char kTypeLink[] = "link";
41 const char kTypeListBox[] = "listbox"; 42 const char kTypeListBox[] = "listbox";
42 const char kTypeMenu[] = "menu"; 43 const char kTypeMenu[] = "menu";
43 const char kTypeMenuItem[] = "menuitem"; 44 const char kTypeMenuItem[] = "menuitem";
44 const char kTypeRadioButton[] = "radiobutton"; 45 const char kTypeRadioButton[] = "radiobutton";
45 const char kTypeTab[] = "tab"; 46 const char kTypeTab[] = "tab";
46 const char kTypeTextBox[] = "textbox"; 47 const char kTypeTextBox[] = "textbox";
47 const char kTypeWindow[] = "window"; 48 const char kTypeWindow[] = "window";
48 49
49 } // namespace extension_accessibility_api_constants 50 } // namespace extension_accessibility_api_constants
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698