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 * @fileoverview Externs for the braille IME. | 6 * @fileoverview Externs for the braille IME. |
7 * @externs | 7 * @externs |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 /** @type {boolean} */ | 135 /** @type {boolean} */ |
136 ChromeKeyboardEvent.prototype.altKey; | 136 ChromeKeyboardEvent.prototype.altKey; |
137 | 137 |
138 /** @type {boolean} */ | 138 /** @type {boolean} */ |
139 ChromeKeyboardEvent.prototype.ctrlKey; | 139 ChromeKeyboardEvent.prototype.ctrlKey; |
140 | 140 |
141 /** @type {boolean} */ | 141 /** @type {boolean} */ |
142 ChromeKeyboardEvent.prototype.shiftKey; | 142 ChromeKeyboardEvent.prototype.shiftKey; |
143 | 143 |
| 144 /** @type {boolean} */ |
| 145 ChromeKeyboardEvent.prototype.capsLock; |
| 146 |
144 /** | 147 /** |
145 * @constructor | 148 * @constructor |
146 */ | 149 */ |
147 function InputContext() {} | 150 function InputContext() {} |
148 | 151 |
149 /** @type {number} */ | 152 /** @type {number} */ |
150 InputContext.prototype.contextID; | 153 InputContext.prototype.contextID; |
151 | 154 |
152 /** @type {string} */ | 155 /** @type {string} */ |
153 InputContext.prototype.type; | 156 InputContext.prototype.type; |
154 | 157 |
155 /** | 158 /** |
156 * @typedef {{ | 159 * @typedef {{ |
157 * id: string, | 160 * id: string, |
158 * label: (string|undefined), | 161 * label: (string|undefined), |
159 * style: string, | 162 * style: string, |
160 * visible: (boolean|undefined), | 163 * visible: (boolean|undefined), |
161 * checked: (boolean|undefined), | 164 * checked: (boolean|undefined), |
162 * enabled: (boolean|undefined) | 165 * enabled: (boolean|undefined) |
163 * }} | 166 * }} |
164 */ | 167 */ |
165 chrome.input.ime.MenuItem; | 168 chrome.input.ime.MenuItem; |
166 | 169 |
167 /** | 170 /** |
168 * @type {Object} | 171 * @type {Object} |
169 */ | 172 */ |
170 var localStorage; | 173 var localStorage; |
OLD | NEW |