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

Side by Side Diff: chrome/common/extensions/api/input_method_private.json

Issue 1552743003: Add chrome.inputMethodPrivate.onImeMenuActivationChanged API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 },
11 "description": "none", 11 "description": "none",
12 "functions": [ 12 "functions": [
13 { 13 {
14 "name": "getInputMethodConfig", 14 "name": "getInputMethodConfig",
15 "type": "function", 15 "type": "function",
16 "description": "Gets configurations for input methods.", 16 "description": "Gets configurations for input methods.",
17 "parameters": [ 17 "parameters": [
18 { 18 {
19 "name": "callback", 19 "name": "callback",
20 "type": "function", 20 "type": "function",
21 "optional": false, 21 "optional": false,
22 "description": "Callback which is called with the config object.", 22 "description": "Callback which is called with the config object.",
23 "parameters": [ 23 "parameters": [
24 { 24 {
25 "name": "config", 25 "name": "config",
26 "type": "object", 26 "type": "object",
27 "description": "The input method config object.", 27 "description": "The input method config object.",
28 "properties": { 28 "properties": {
29 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"} 29 "isPhysicalKeyboardAutocorrectEnabled": {"type": "boolean"},
30 "isImeMenuActivated": {"type": "boolean"}
30 } 31 }
31 } 32 }
32 ] 33 ]
33 } 34 }
34 ] 35 ]
35 }, { 36 }, {
36 "name": "getInputMethods", 37 "name": "getInputMethods",
37 "type": "function", 38 "type": "function",
38 "description": "Gets all whitelisted input methods.", 39 "description": "Gets all whitelisted input methods.",
39 "parameters": [ 40 "parameters": [
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 } 240 }
240 }, { 241 }, {
241 "name": "removed", 242 "name": "removed",
242 "type": "array", 243 "type": "array",
243 "description": "List of removed words.", 244 "description": "List of removed words.",
244 "items": { 245 "items": {
245 "type": "string" 246 "type": "string"
246 } 247 }
247 } 248 }
248 ] 249 ]
250 }, {
251 "name": "onImeMenuActivationChanged",
252 "type": "function",
253 "description": "Fired when the IME menu is activated or deactivated.",
254 "parameters": [
255 {
256 "name": "activation",
257 "type": "boolean",
258 "description": "Whether the IME menu is currently active."
259 }
260 ]
249 } 261 }
250 ] 262 ]
251 } 263 }
252 ] 264 ]
OLDNEW
« no previous file with comments | « chrome/chrome_browser_chromeos.gypi ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698