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

Side by Side Diff: third_party/google_input_tools/src/chrome/os/inputview/imewindows/accents.js

Issue 1576613002: Update Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing APIs, remove bade dependencies. Created 4 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
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698