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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js

Issue 1257313003: Update Google Input Tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Free up grd resources. Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js b/third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js
index 465de574e710700bec672d384420b008890760d6..80a4cf0cd5ed86f8de4aee3f2a44043ed28d7db7 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/layouts/kokbd_layout.js
@@ -11,7 +11,6 @@
// you may not use this file except in compliance with the License.
// Licensed under the Apache License, Version 2.0 (the "License");
//
-
goog.require('i18n.input.chrome.inputview.ConditionName');
goog.require('i18n.input.chrome.inputview.layouts.RowsOf101');
goog.require('i18n.input.chrome.inputview.layouts.util');
@@ -19,6 +18,7 @@ goog.require('i18n.input.chrome.inputview.layouts.util');
(function() {
var ConditionName = i18n.input.chrome.inputview.ConditionName;
+ var RowsOf101 = i18n.input.chrome.inputview.layouts.RowsOf101;
var util = i18n.input.chrome.inputview.layouts.util;
util.setPrefix('kokbd-k-');
@@ -75,15 +75,15 @@ goog.require('i18n.input.chrome.inputview.layouts.util');
'widthInWeight': 1.08
});
var spaceKeyRow = util.createLinearLayout({
- 'id': 'spaceKeyrow',
- 'children': [globeKey, menuKey, ctrlKey, altKey, hangjaSwitcher,
- spaceKey, enSwitcher, altGrKey, leftKey, rightKey,
- hideKeyboardKey]
- });
+ 'id': 'spaceKeyrow',
+ 'children': [ctrlKey, altKey, globeKey, menuKey, hangjaSwitcher,
+ spaceKey, enSwitcher, altGrKey, leftKey, rightKey,
+ hideKeyboardKey]
+ });
return spaceKeyRow;
};
- var topFourRows = i18n.input.chrome.inputview.layouts.RowsOf101.create();
+ var topFourRows = RowsOf101.create();
var spaceRow = createSpaceRow();
// Keyboard view.
@@ -95,9 +95,9 @@ goog.require('i18n.input.chrome.inputview.layouts.util');
});
var keyboardContainer = util.createLinearLayout({
- 'id': 'keyboardContainer',
- 'children': [keyboardView]
- });
+ 'id': 'keyboardContainer',
+ 'children': [keyboardView]
+ });
var data = {
'layoutID': 'kokbd',

Powered by Google App Engine
This is Rietveld 408576698