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

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

Issue 858303004: Exposes cursor position to IME extension through chrome.inputMethodPrivate.onCompositionBoundsChang… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | ui/base/ime/input_method_chromeos.cc » ('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 "platforms": ["chromeos"], 8 "platforms": ["chromeos"],
9 "description": "none", 9 "description": "none",
10 "functions": [ 10 "functions": [
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 "parameters": [ 106 "parameters": [
107 { 107 {
108 "name": "newInputMethodId", 108 "name": "newInputMethodId",
109 "type": "string", 109 "type": "string",
110 "description": "New input method which is being used." 110 "description": "New input method which is being used."
111 } 111 }
112 ] 112 ]
113 }, { 113 }, {
114 "name": "onCompositionBoundsChanged", 114 "name": "onCompositionBoundsChanged",
115 "type": "function", 115 "type": "function",
116 "description": "Fired when the composition bounds are changed.", 116 "description": "Fired when the composition bounds or cursor bounds are c hanged.",
117 "parameters": [ 117 "parameters": [
118 { 118 {
119 "name": "bounds", 119 "name": "bounds",
120 "type": "object", 120 "type": "array",
121 "description": "Composition bounds.", 121 "description": "List of bounds information.",
122 "properties": { 122 "items": {
123 "x": {"type": "integer"}, 123 "type": "object",
124 "y": {"type": "integer"}, 124 "properties": {
125 "w": {"type": "integer"}, 125 "x": {"type": "integer"},
126 "h": {"type": "integer"} 126 "y": {"type": "integer"},
127 "w": {"type": "integer"},
128 "h": {"type": "integer"}
129 }
127 } 130 }
128 } 131 }
129 ] 132 ]
130 } 133 }
131 ] 134 ]
132 } 135 }
133 ] 136 ]
OLDNEW
« no previous file with comments | « no previous file | ui/base/ime/input_method_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698