| 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 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 /** | 31 /** |
| 32 * The accents floating windows. | 32 * The accents floating windows. |
| 33 * | 33 * |
| 34 * @param {!chrome.app.window.AppWindow} parentWindow The parent app window. | 34 * @param {!chrome.app.window.AppWindow} parentWindow The parent app window. |
| 35 * @constructor | 35 * @constructor |
| 36 * @extends {i18n.input.chrome.FloatingWindow} | 36 * @extends {i18n.input.chrome.FloatingWindow} |
| 37 */ | 37 */ |
| 38 i18n.input.chrome.inputview.Accents = function(parentWindow) { | 38 i18n.input.chrome.inputview.Accents = function(parentWindow) { |
| 39 i18n.input.chrome.inputview.Accents.base(this, 'constructor', | 39 i18n.input.chrome.inputview.Accents.base(this, 'constructor', |
| 40 parentWindow, undefined, Accents.CSS_FILE); | 40 parentWindow, undefined, Accents.CSS_FILE_); |
| 41 }; | 41 }; |
| 42 var Accents = i18n.input.chrome.inputview.Accents; | 42 var Accents = i18n.input.chrome.inputview.Accents; |
| 43 goog.inherits(Accents, FloatingWindow); | 43 goog.inherits(Accents, FloatingWindow); |
| 44 | 44 |
| 45 | 45 |
| 46 | |
| 47 /** | 46 /** |
| 48 * @const {string} The css file name for accents component. | 47 * @private @const {string} The css file name for accents component. |
| 49 */ | 48 */ |
| 50 Accents.CSS_FILE = 'accents_css.css' | 49 Accents.CSS_FILE_ = 'accents_css.css'; |
| 51 | 50 |
| 52 | 51 |
| 53 /** | 52 /** |
| 54 * The highlighted element. | 53 * The highlighted element. |
| 55 * | 54 * |
| 56 * @type {Element} | 55 * @type {Element} |
| 57 * @private | 56 * @private |
| 58 */ | 57 */ |
| 59 Accents.prototype.highlightedItem_ = null; | 58 Accents.prototype.highlightedItem_ = null; |
| 60 | 59 |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 orderedAccents[i * numOfColumns + j] = ''; | 230 orderedAccents[i * numOfColumns + j] = ''; |
| 232 } else { | 231 } else { |
| 233 orderedAccents[i * numOfColumns + j] = accents[index]; | 232 orderedAccents[i * numOfColumns + j] = accents[index]; |
| 234 } | 233 } |
| 235 } | 234 } |
| 236 } | 235 } |
| 237 | 236 |
| 238 return orderedAccents; | 237 return orderedAccents; |
| 239 }; | 238 }; |
| 240 }); // goog.scope | 239 }); // goog.scope |
| OLD | NEW |