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

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/config/material/hwt_data.js

Issue 899673003: Uprev Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: third_party/google_input_tools/src/chrome/os/inputview/config/material/hwt_data.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js b/third_party/google_input_tools/src/chrome/os/inputview/config/material/hwt_data.js
similarity index 88%
copy from third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js
copy to third_party/google_input_tools/src/chrome/os/inputview/config/material/hwt_data.js
index 98de8f6c58559b8293643e7c48fb0bf423e17c45..b266bb03414ff0e54e1d3b366745c4712e9d5628 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/config/hwt_data.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/config/material/hwt_data.js
@@ -1,4 +1,4 @@
-// Copyright 2014 The ChromeOS IME Authors. All Rights Reserved.
+// Copyright 2015 The ChromeOS IME Authors. All Rights Reserved.
// limitations under the License.
// See the License for the specific language governing permissions and
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -25,6 +25,11 @@ goog.require('i18n.input.chrome.inputview.elements.ElementType');
var viewIdPrefix = 'handwriting-k-';
var spec = {};
+ spec[SpecNodeName.ID] = 'SingleQuote';
+ spec[SpecNodeName.TYPE] = ElementType.CHARACTER_KEY;
+ spec[SpecNodeName.CHARACTERS] = ['\''];
+ var singleQuoteKey = util.createKey(spec);
+
spec[SpecNodeName.ID] = 'Comma';
spec[SpecNodeName.TYPE] = ElementType.CHARACTER_KEY;
spec[SpecNodeName.CHARACTERS] = [','];
@@ -44,11 +49,13 @@ goog.require('i18n.input.chrome.inputview.elements.ElementType');
var spaceKey = i18n.input.chrome.inputview.content.util.createKey(spec);
var keyList = [
+ singleQuoteKey,
commaKey,
periodKey,
- spaceKey,
+ util.createBackToKeyboardKey(),
util.createBackspaceKey(),
util.createEnterKey(),
+ spaceKey,
util.createHideKeyboardKey()
];

Powered by Google App Engine
This is Rietveld 408576698