| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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": "inputMethodPrivate", | 7 "namespace": "inputMethodPrivate", |
| 8 "compiler_options": { | 8 "compiler_options": { |
| 9 "implemented_in": "chrome/browser/chromeos/extensions/input_method_api.h" | 9 "implemented_in": "chrome/browser/chromeos/extensions/input_method_api.h" |
| 10 }, | 10 }, |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 "description": "Shows the input view window. If the input view window is
already shown, this function will do nothing.", | 224 "description": "Shows the input view window. If the input view window is
already shown, this function will do nothing.", |
| 225 "parameters": [ | 225 "parameters": [ |
| 226 { | 226 { |
| 227 "type": "function", | 227 "type": "function", |
| 228 "name": "callback", | 228 "name": "callback", |
| 229 "optional": true, | 229 "optional": true, |
| 230 "description": "Called when the operation completes.", | 230 "description": "Called when the operation completes.", |
| 231 "parameters": [] | 231 "parameters": [] |
| 232 } | 232 } |
| 233 ] | 233 ] |
| 234 }, { |
| 235 "name": "openOptionsPage", |
| 236 "type": "function", |
| 237 "description": "Opens the options page for the input method extension. I
f the input method does not have options, this function will do nothing.", |
| 238 "parameters": [ |
| 239 { |
| 240 "name": "inputMethodId", |
| 241 "type": "string", |
| 242 "description": "ID of the input method to open options for." |
| 243 } |
| 244 ] |
| 234 } | 245 } |
| 235 ], | 246 ], |
| 236 "events": [ | 247 "events": [ |
| 237 { | 248 { |
| 238 "name": "onChanged", | 249 "name": "onChanged", |
| 239 "type": "function", | 250 "type": "function", |
| 240 "description": "Fired when the input method is changed.", | 251 "description": "Fired when the input method is changed.", |
| 241 "parameters": [ | 252 "parameters": [ |
| 242 { | 253 { |
| 243 "name": "newInputMethodId", | 254 "name": "newInputMethodId", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 "items": { | 344 "items": { |
| 334 "$ref": "MenuItem" | 345 "$ref": "MenuItem" |
| 335 }, | 346 }, |
| 336 "description": "MenuItems to add or update." | 347 "description": "MenuItems to add or update." |
| 337 } | 348 } |
| 338 ] | 349 ] |
| 339 } | 350 } |
| 340 ] | 351 ] |
| 341 } | 352 } |
| 342 ] | 353 ] |
| OLD | NEW |