| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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": "virtualKeyboardPrivate", | 7 "namespace": "virtualKeyboardPrivate", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/extensions/api/input/input.h" | 9 "implemented_in": "chrome/browser/extensions/api/input/input.h" |
| 10 }, | 10 }, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 }, | 142 }, |
| 143 "experimental": { | 143 "experimental": { |
| 144 "type": "boolean", | 144 "type": "boolean", |
| 145 "description": "True if experimental features are enabled." | 145 "description": "True if experimental features are enabled." |
| 146 } | 146 } |
| 147 } | 147 } |
| 148 } | 148 } |
| 149 ] | 149 ] |
| 150 } | 150 } |
| 151 ] | 151 ] |
| 152 }, |
| 153 { |
| 154 "name": "openSettings", |
| 155 "type": "function", |
| 156 "description": "Opens chrome://settings/languages page.", |
| 157 "parameters": [ |
| 158 ] |
| 152 } | 159 } |
| 153 ], | 160 ], |
| 154 "events": [ | 161 "events": [ |
| 155 { | 162 { |
| 156 "name": "onTextInputBoxFocused", | 163 "name": "onTextInputBoxFocused", |
| 157 "type": "function", | 164 "type": "function", |
| 158 "description": "This event is sent when focus enters a text input box.", | 165 "description": "This event is sent when focus enters a text input box.", |
| 159 "parameters": [ | 166 "parameters": [ |
| 160 { | 167 { |
| 161 "type": "object", | 168 "type": "object", |
| 162 "name": "context", | 169 "name": "context", |
| 163 "description": "Describes the text input box that has acquired focus
. Note only the type of text input box is passed. This API is intended to be use
d by non-ime virtual keyboard only. Normal ime virtual keyboard should use chrom
e.input.ime.onFocus to get the more detailed InputContext.", | 170 "description": "Describes the text input box that has acquired focus
. Note only the type of text input box is passed. This API is intended to be use
d by non-ime virtual keyboard only. Normal ime virtual keyboard should use chrom
e.input.ime.onFocus to get the more detailed InputContext.", |
| 164 "properties": { | 171 "properties": { |
| 165 "type": { | 172 "type": { |
| 166 "type": "string", | 173 "type": "string", |
| 167 "description": "The value of type attribute of the focused text
input box.", | 174 "description": "The value of type attribute of the focused text
input box.", |
| 168 "enum": ["text", "number", "password", "date", "url", "tel", "em
ail"] | 175 "enum": ["text", "number", "password", "date", "url", "tel", "em
ail"] |
| 169 } | 176 } |
| 170 } | 177 } |
| 171 } | 178 } |
| 172 ] | 179 ] |
| 173 } | 180 } |
| 174 ] | 181 ] |
| 175 } | 182 } |
| 176 ] | 183 ] |
| OLD | NEW |