- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / accessibility / accessibility_extension_api_constants.cc
1 // Copyright (c) 2012 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/accessibility/accessibility_extension_api_constants.h"
6
7 namespace extension_accessibility_api_constants {
8
9 // String keys for AccessibilityObject properties.
10 const char kTypeKey[] = "type";
11 const char kNameKey[] = "name";
12 const char kContextKey[] = "context";
13 const char kDetailsKey[] = "details";
14 const char kValueKey[] = "details.value";
15 const char kPasswordKey[] = "details.isPassword";
16 const char kItemCountKey[] = "details.itemCount";
17 const char kItemIndexKey[] = "details.itemIndex";
18 const char kSelectionStartKey[] = "details.selectionStart";
19 const char kSelectionEndKey[] = "details.selectionEnd";
20 const char kCheckedKey[] = "details.isChecked";
21 const char kHasSubmenuKey[] = "details.hasSubmenu";
22 const char kMessageKey[] = "message";
23 const char kStringValueKey[] = "details.stringValue";
24
25 // Types of controls that can receive accessibility events.
26 const char kTypeButton[] = "button";
27 const char kTypeCheckbox[] = "checkbox";
28 const char kTypeComboBox[] = "combobox";
29 const char kTypeLink[] = "link";
30 const char kTypeListBox[] = "listbox";
31 const char kTypeMenu[] = "menu";
32 const char kTypeMenuItem[] = "menuitem";
33 const char kTypeRadioButton[] = "radiobutton";
34 const char kTypeSlider[] = "slider";
35 const char kTypeTab[] = "tab";
36 const char kTypeTextBox[] = "textbox";
37 const char kTypeWindow[] = "window";
38
39 }  // namespace extension_accessibility_api_constants