OLD | NEW |
1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. | 1 // Copyright 2014 The ChromeOS IME Authors. All Rights Reserved. |
2 // limitations under the License. | 2 // limitations under the License. |
3 // See the License for the specific language governing permissions and | 3 // See the License for the specific language governing permissions and |
4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 4 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
5 // distributed under the License is distributed on an "AS-IS" BASIS, | 5 // distributed under the License is distributed on an "AS-IS" BASIS, |
6 // Unless required by applicable law or agreed to in writing, software | 6 // Unless required by applicable law or agreed to in writing, software |
7 // | 7 // |
8 // http://www.apache.org/licenses/LICENSE-2.0 | 8 // http://www.apache.org/licenses/LICENSE-2.0 |
9 // | 9 // |
10 // You may obtain a copy of the License at | 10 // You may obtain a copy of the License at |
11 // you may not use this file except in compliance with the License. | 11 // you may not use this file except in compliance with the License. |
12 // Licensed under the Apache License, Version 2.0 (the "License"); | 12 // Licensed under the Apache License, Version 2.0 (the "License"); |
13 // | 13 // |
14 goog.provide('i18n.input.chrome.inputview.layouts.util'); | 14 goog.provide('i18n.input.chrome.inputview.layouts.util'); |
15 goog.require('i18n.input.chrome.inputview.elements.ElementType'); | 15 goog.require('i18n.input.chrome.ElementType'); |
16 | 16 |
17 | 17 |
18 | 18 |
19 goog.scope(function() { | 19 goog.scope(function() { |
20 var ElementType = i18n.input.chrome.inputview.elements.ElementType; | 20 var ElementType = i18n.input.chrome.ElementType; |
21 var util = i18n.input.chrome.inputview.layouts.util; | 21 var util = i18n.input.chrome.inputview.layouts.util; |
22 | 22 |
23 | 23 |
24 /** | 24 /** |
25 * The id for the key. | 25 * The id for the key. |
26 * | 26 * |
27 * @type {number} | 27 * @type {number} |
28 * @private | 28 * @private |
29 */ | 29 */ |
30 util.keyId_ = 0; | 30 util.keyId_ = 0; |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 } | 214 } |
215 if (opt_iconCssClass) { | 215 if (opt_iconCssClass) { |
216 newSpec['iconCssClass'] = opt_iconCssClass; | 216 newSpec['iconCssClass'] = opt_iconCssClass; |
217 } | 217 } |
218 return { | 218 return { |
219 'spec': newSpec | 219 'spec': newSpec |
220 }; | 220 }; |
221 }; | 221 }; |
222 | 222 |
223 }); // goog.scope | 223 }); // goog.scope |
OLD | NEW |