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

Unified Diff: ui/keyboard/resources/layouts/system-qwerty.html

Issue 150783002: Aligns the Q A Z keys on the a11y keyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nits. Created 6 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
« no previous file with comments | « ui/keyboard/resources/constants.js ('k') | ui/keyboard/resources/main.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/resources/layouts/system-qwerty.html
diff --git a/ui/keyboard/resources/layouts/system-qwerty.html b/ui/keyboard/resources/layouts/system-qwerty.html
index 3e016e8c9706f45921dcf73363a5f57770d8a741..6d8ad50ec8b51dc966deb53495706a3cc0cda5c0 100644
--- a/ui/keyboard/resources/layouts/system-qwerty.html
+++ b/ui/keyboard/resources/layouts/system-qwerty.html
@@ -4,11 +4,10 @@
-- found in the LICENSE file.
-->
-<link id="spacebar-row" rel="import" href="spacebar-row.html">
<link id="function-key-row" rel="import" href="function-key-row.html">
<template>
- <kb-keyset id="system-qwerty-upper" align="stretch">
+ <kb-keyset id="system-qwerty-upper" align="center">
<kb-row>
<kb-key-import importId="function-key-row"></kb-key-import>
</kb-row>
@@ -16,37 +15,37 @@
<kb-key-sequence invert=true keys="'1234567890-="
hintTexts="~!@#$%^&*()_+"> </kb-key-sequence>
<kb-key class="dark" char="&#x0008;" repeat align="right"
- weight="160">backspace</kb-key>
+ weight="190">backspace</kb-key>
</kb-row>
- <kb-row>
+ <kb-row align="left">
<kb-key class="dark" char="&#x0009;" align="left"
- weight="160">tab</kb-key>
+ weight="155">tab</kb-key>
<kb-key-sequence keys="QWERTYUIOP"></kb-key-sequence>
<kb-key-sequence invert=true keys="[]\"
hintTexts="{}|"></kb-key-sequence>
</kb-row>
- <kb-row>
- <kb-key class="search dark" char="Search" image='search' weight="150">
- </kb-key>
+ <kb-row align="stretchright">
+ <kb-key class="search dark" char="Search" image='search'
+ imageSize="35%" weight="210"> </kb-key>
<kb-key-sequence keys="ASDFGHJKL"></kb-key-sequence>
<kb-key-sequence invert=true keys=";&apos;" hintTexts=':"'>
</kb-key-sequence>
<kb-key class="dark" char="&#x000A;" align="right"
- weight="210">enter</kb-key>
+ weight="170">enter</kb-key>
</kb-row>
- <kb-row>
- <kb-shift-key weight="230" align="left">shift</kb-shift-key>
+ <kb-row align="stretchright">
+ <kb-shift-key weight="265" align="left">shift</kb-shift-key>
<kb-key-sequence keys="ZXCVBNM"></kb-key-sequence>
<kb-key-sequence invert=true keys=",./" hintTexts="<>?">
</kb-key-sequence>
- <kb-shift-key weight="230" align="right">shift</kb-shift-key>
+ <kb-shift-key weight="135" align="right">shift</kb-shift-key>
</kb-row>
<kb-row>
<kb-modifier-key class="dark" weight="150" char="Ctrl"
align="left">ctrl</kb-modifier-key>
<kb-modifier-key class="dark" weight="150" char="Alt"
align="left">alt</kb-modifier-key>
- <kb-key char=" " class="space dark" weight="760"></kb-key>
+ <kb-key char=" " class="space" weight="760"></kb-key>
<kb-key class="dark" repeat char="Arrow-Left" image="left"
weight="75"> </kb-key>
<kb-key class="dark" repeat char="Arrow-Up" image="up"
@@ -61,42 +60,42 @@
</kb-altkey-container>
</kb-keyset>
- <kb-keyset id="system-qwerty-lower" align="stretch" isDefault=true>
+ <kb-keyset id="system-qwerty-lower" align="center" isDefault=true>
<kb-row>
<kb-key-import importId="function-key-row"></kb-key-import>
</kb-row>
<kb-row>
<kb-key-sequence keys="'1234567890-=" hintTexts="~!@#$%^&*()_+">
</kb-key-sequence>
- <kb-key class="dark" weight="160" char="&#x0008;"
+ <kb-key class="dark" weight="190" char="&#x0008;"
repeat align="right">backspace</kb-key>
</kb-row>
- <kb-row>
+ <kb-row align="left">
<kb-key class="dark" char="&#x0009;" align="left"
- weight="160">tab</kb-key>
+ weight="155">tab</kb-key>
<kb-key-sequence keys="qwertyuiop"></kb-key-sequence>
<kb-key-sequence keys="[]\" hintTexts="{}|"></kb-key-sequence>
</kb-row>
- <kb-row>
- <kb-key class="search dark" char="Search" image='search' weight="150">
- </kb-key>
+ <kb-row align="stretchright">
+ <kb-key class="search dark" char="Search" image='search'
+ imageSize="35%" weight="210"></kb-key>
<kb-key-sequence keys="asdfghjkl"></kb-key-sequence>
<kb-key-sequence keys=";&apos;" hintTexts=':"'></kb-key-sequence>
<kb-key class="dark" char="&#x000A;" align="right"
- weight="210">enter</kb-key>
+ weight="170">enter</kb-key>
</kb-row>
- <kb-row>
- <kb-shift-key weight="230" align="left">shift</kb-shift-key>
+ <kb-row align="stretchright">
+ <kb-shift-key weight="265" align="left">shift</kb-shift-key>
<kb-key-sequence keys="zxcvbnm"></kb-key-sequence>
<kb-key-sequence keys=",./" hintTexts="<>?"></kb-key-sequence>
- <kb-shift-key weight="230" align="right">shift</kb-shift-key>
+ <kb-shift-key weight="135" align="right">shift</kb-shift-key>
</kb-row>
<kb-row>
<kb-modifier-key class="symbol dark" weight="150" char="Ctrl"
align="left">ctrl</kb-modifier-key>
<kb-modifier-key class="symbol dark" weight="150" char="Alt"
align="left">alt</kb-modifier-key>
- <kb-key char=" " class="space dark" weight="760"></kb-key>
+ <kb-key char=" " class="space" weight="760"></kb-key>
<kb-key class="dark" repeat char="Arrow-Left" image="left"
weight="75"> </kb-key>
<kb-key class="dark" repeat char="Arrow-Up" image="up"
« no previous file with comments | « ui/keyboard/resources/constants.js ('k') | ui/keyboard/resources/main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698