OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 [ | 5 [ |
6 { | 6 { |
7 "namespace": "accessibilityPrivate", | 7 "namespace": "accessibilityPrivate", |
8 "compiler_options": { | 8 "compiler_options": { |
9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap
i.h" | 9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap
i.h" |
10 }, | 10 }, |
(...skipping 17 matching lines...) Expand all Loading... |
28 "properties": { | 28 "properties": { |
29 "left": {"type": "integer", "description": "Left coordinate in global
screen coordinates."}, | 29 "left": {"type": "integer", "description": "Left coordinate in global
screen coordinates."}, |
30 "top": {"type": "integer", "description": "Top coordinate in global sc
reen coordinates."}, | 30 "top": {"type": "integer", "description": "Top coordinate in global sc
reen coordinates."}, |
31 "width": {"type": "integer", "description": "Width in pixels."}, | 31 "width": {"type": "integer", "description": "Width in pixels."}, |
32 "height": {"type": "integer", "description": "Height in pixels."} | 32 "height": {"type": "integer", "description": "Height in pixels."} |
33 } | 33 } |
34 }, | 34 }, |
35 { | 35 { |
36 "id": "Gesture", | 36 "id": "Gesture", |
37 "type": "string", | 37 "type": "string", |
38 "enum": [ "doubleTap", "swipeLeft1", "swipeUp1", "swipeRight1", "swipeDo
wn1", "swipeLeft2", "swipeUp2", "swipeRight2", "swipeDown2", "swipeLeft3", "swip
eUp3", "swipeRight3", "swipeDown3", "swipeLeft4", "swipeUp4", "swipeRight4", "sw
ipeDown4" ], | 38 "enum": [ "click", "swipeLeft1", "swipeUp1", "swipeRight1", "swipeDown1"
, "swipeLeft2", "swipeUp2", "swipeRight2", "swipeDown2", "swipeLeft3", "swipeUp3
", "swipeRight3", "swipeDown3", "swipeLeft4", "swipeUp4", "swipeRight4", "swipeD
own4" ], |
39 "description": "Accessibility gestures fired by the touch exploration co
ntroller." | 39 "description": "Accessibility gestures fired by the touch exploration co
ntroller." |
40 } | 40 } |
41 ], | 41 ], |
42 "functions": [ | 42 "functions": [ |
43 { | 43 { |
44 "name": "setNativeAccessibilityEnabled", | 44 "name": "setNativeAccessibilityEnabled", |
45 "type": "function", | 45 "type": "function", |
46 "description": "Enables or disables native accessibility support. Once d
isabled, it is up to the calling extension to provide accessibility for web cont
ents.", | 46 "description": "Enables or disables native accessibility support. Once d
isabled, it is up to the calling extension to provide accessibility for web cont
ents.", |
47 "parameters": [ | 47 "parameters": [ |
48 { | 48 { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 "parameters": [ | 97 "parameters": [ |
98 { | 98 { |
99 "name": "gesture", | 99 "name": "gesture", |
100 "$ref": "Gesture" | 100 "$ref": "Gesture" |
101 } | 101 } |
102 ] | 102 ] |
103 } | 103 } |
104 ] | 104 ] |
105 } | 105 } |
106 ] | 106 ] |
OLD | NEW |