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

Unified Diff: ui/keyboard/resources/elements/kb-key-sequence.html

Issue 26258003: Add a full QWERTY layout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Accidentally modified a webui file Created 7 years, 2 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: ui/keyboard/resources/elements/kb-key-sequence.html
diff --git a/ui/keyboard/resources/elements/kb-key-sequence.html b/ui/keyboard/resources/elements/kb-key-sequence.html
index ad01003b2a1abf4d7e7dea5c516b5c48370e63b7..40bdf2194d9e5a116e3c0458804a326eb1ebe838 100644
--- a/ui/keyboard/resources/elements/kb-key-sequence.html
+++ b/ui/keyboard/resources/elements/kb-key-sequence.html
@@ -4,7 +4,7 @@
-- found in the LICENSE file.
-->
-<polymer-element name="kb-key-sequence" attributes="keys hintTexts keyCodes">
+<polymer-element name="kb-key-sequence" attributes="keys hintTexts keyCodes invert">
<template>
<style>
@host {
@@ -47,6 +47,10 @@
key.keyCode = state.keyCode;
key.shiftModifier = state.shiftModifier;
}
+ if(this.invert) {
bshe 2013/10/08 14:58:06 Is the keycode still right after this key inverted
rsadam 2013/10/08 21:36:14 I think it is. I tested it by inverting the qwerty
rsadam 2013/10/09 15:25:13 Fixed!
+ key.invert = true;
+ key.char = newKeys[i];
+ }
replacement.appendChild(key);
}
result = replacement;

Powered by Google App Engine
This is Rietveld 408576698