Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!-- | 1 <!-- |
| 2 -- Copyright 2013 The Chromium Authors. All rights reserved. | 2 -- Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 -- Use of this source code is governed by a BSD-style license that can be | 3 -- Use of this source code is governed by a BSD-style license that can be |
| 4 -- found in the LICENSE file. | 4 -- found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 | 6 |
| 7 <link id="spacebar-row" rel="import" href="spacebar-row.html"> | 7 <link id="spacebar-row" rel="import" href="spacebar-row.html"> |
| 8 <link id="function-key-row" rel="import" href="function-key-row.html"> | 8 <link id="function-key-row" rel="import" href="function-key-row.html"> |
| 9 | 9 |
| 10 <template> | 10 <template> |
| 11 <kb-keyset id="system-qwerty-upper" align="stretch"> | 11 <kb-keyset align="stretch" id="system-qwerty-upper"> |
| 12 <kb-row> | 12 <kb-row> |
| 13 <kb-key-import importId="function-key-row"></kb-key-import> | 13 <kb-key-import importId="function-key-row"></kb-key-import> |
| 14 </kb-row> | 14 </kb-row> |
| 15 <kb-row> | 15 <kb-row> |
| 16 <kb-key-sequence invert=true keys="'1234567890-=" | 16 <kb-key-sequence invert=true keys="'1234567890-=" |
| 17 hintTexts="~!@#$%^&*()_+"> </kb-key-sequence> | 17 hintTexts="~!@#$%^&*()_+"> </kb-key-sequence> |
| 18 <kb-key class="dark" char="" repeat align="right" | 18 <kb-key class="dark" char="" repeat align="right" |
| 19 weight="160">backspace</kb-key> | 19 weight="190">backspace</kb-key> |
|
bshe
2014/01/31 16:09:49
So the total weight of each row doesn't need to be
| |
| 20 </kb-row> | 20 </kb-row> |
| 21 <kb-row> | 21 <kb-row align="left"> |
| 22 <kb-key class="dark" char="	" align="left" | 22 <kb-key class="dark" char="	" align="left" |
| 23 weight="160">tab</kb-key> | 23 weight="155">tab</kb-key> |
| 24 <kb-key-sequence keys="QWERTYUIOP"></kb-key-sequence> | 24 <kb-key-sequence keys="QWERTYUIOP"></kb-key-sequence> |
| 25 <kb-key-sequence invert=true keys="[]\" | 25 <kb-key-sequence invert=true keys="[]\" |
| 26 hintTexts="{}|"></kb-key-sequence> | 26 hintTexts="{}|"></kb-key-sequence> |
| 27 </kb-row> | 27 </kb-row> |
| 28 <kb-row> | 28 <kb-row align="stretchright"> |
| 29 <kb-key class="search dark" char="Search" image='search' weight="150"> | 29 <kb-key class="search dark" char="Search" image='search' |
| 30 </kb-key> | 30 imageSize="35%" weight="210"> </kb-key> |
| 31 <kb-key-sequence keys="ASDFGHJKL"></kb-key-sequence> | 31 <kb-key-sequence keys="ASDFGHJKL"></kb-key-sequence> |
| 32 <kb-key-sequence invert=true keys=";'" hintTexts=':"'> | 32 <kb-key-sequence invert=true keys=";'" hintTexts=':"'> |
| 33 </kb-key-sequence> | 33 </kb-key-sequence> |
| 34 <kb-key class="dark" char="
" align="right" | 34 <kb-key class="dark" char="
" align="right" |
| 35 weight="210">enter</kb-key> | 35 weight="170">enter</kb-key> |
| 36 </kb-row> | 36 </kb-row> |
| 37 <kb-row> | 37 <kb-row align="stretchright"> |
| 38 <kb-shift-key weight="230" align="left">shift</kb-shift-key> | 38 <kb-shift-key weight="265" align="left">shift</kb-shift-key> |
| 39 <kb-key-sequence keys="ZXCVBNM"></kb-key-sequence> | 39 <kb-key-sequence keys="ZXCVBNM"></kb-key-sequence> |
| 40 <kb-key-sequence invert=true keys=",./" hintTexts="<>?"> | 40 <kb-key-sequence invert=true keys=",./" hintTexts="<>?"> |
| 41 </kb-key-sequence> | 41 </kb-key-sequence> |
| 42 <kb-shift-key weight="230" align="right">shift</kb-shift-key> | 42 <kb-shift-key weight="135" align="right">shift</kb-shift-key> |
| 43 </kb-row> | 43 </kb-row> |
| 44 <kb-row> | 44 <kb-row> |
| 45 <kb-modifier-key class="dark" weight="150" char="Ctrl" | 45 <kb-modifier-key class="dark" weight="150" char="Ctrl" |
| 46 align="left">ctrl</kb-modifier-key> | 46 align="left">ctrl</kb-modifier-key> |
| 47 <kb-modifier-key class="dark" weight="150" char="Alt" | 47 <kb-modifier-key class="dark" weight="150" char="Alt" |
| 48 align="left">alt</kb-modifier-key> | 48 align="left">alt</kb-modifier-key> |
| 49 <kb-key char=" " class="space dark" weight="760"></kb-key> | 49 <kb-key char=" " class="space dark" weight="760"></kb-key> |
| 50 <kb-key class="dark" repeat char="Arrow-Left" image="left" | 50 <kb-key class="dark" repeat char="Arrow-Left" image="left" |
| 51 weight="75"> </kb-key> | 51 weight="75"> </kb-key> |
| 52 <kb-key class="dark" repeat char="Arrow-Up" image="up" | 52 <kb-key class="dark" repeat char="Arrow-Up" image="up" |
| 53 weight="75"></kb-key> | 53 weight="75"></kb-key> |
| 54 <kb-key class="dark" repeat char="Arrow-Down" image="down" | 54 <kb-key class="dark" repeat char="Arrow-Down" image="down" |
| 55 weight="75"> </kb-key> | 55 weight="75"> </kb-key> |
| 56 <kb-key class="dark" repeat char="Arrow-Right" image="right" | 56 <kb-key class="dark" repeat char="Arrow-Right" image="right" |
| 57 weight="75"></kb-key> | 57 weight="75"></kb-key> |
| 58 <kb-hide-keyboard-key>hide</kb-hide-keyboard-key> | 58 <kb-hide-keyboard-key>hide</kb-hide-keyboard-key> |
| 59 </kb-row> | 59 </kb-row> |
| 60 <kb-altkey-container hidden> | 60 <kb-altkey-container hidden> |
| 61 </kb-altkey-container> | 61 </kb-altkey-container> |
| 62 </kb-keyset> | 62 </kb-keyset> |
| 63 | 63 |
| 64 <kb-keyset id="system-qwerty-lower" align="stretch" isDefault=true> | 64 <kb-keyset id="system-qwerty-lower" align="stretch" isDefault=true> |
| 65 <kb-row> | 65 <kb-row> |
| 66 <kb-key-import importId="function-key-row"></kb-key-import> | 66 <kb-key-import importId="function-key-row"></kb-key-import> |
| 67 </kb-row> | 67 </kb-row> |
| 68 <kb-row> | 68 <kb-row> |
| 69 <kb-key-sequence keys="'1234567890-=" hintTexts="~!@#$%^&*()_+"> | 69 <kb-key-sequence keys="'1234567890-=" hintTexts="~!@#$%^&*()_+"> |
| 70 </kb-key-sequence> | 70 </kb-key-sequence> |
| 71 <kb-key class="dark" weight="160" char="" | 71 <kb-key class="dark" weight="190" char="" |
| 72 repeat align="right">backspace</kb-key> | 72 repeat align="right">backspace</kb-key> |
| 73 </kb-row> | 73 </kb-row> |
| 74 <kb-row> | 74 <kb-row align="left"> |
| 75 <kb-key class="dark" char="	" align="left" | 75 <kb-key class="dark" char="	" align="left" |
| 76 weight="160">tab</kb-key> | 76 weight="155">tab</kb-key> |
| 77 <kb-key-sequence keys="qwertyuiop"></kb-key-sequence> | 77 <kb-key-sequence keys="qwertyuiop"></kb-key-sequence> |
| 78 <kb-key-sequence keys="[]\" hintTexts="{}|"></kb-key-sequence> | 78 <kb-key-sequence keys="[]\" hintTexts="{}|"></kb-key-sequence> |
| 79 </kb-row> | 79 </kb-row> |
| 80 <kb-row> | 80 <kb-row align="stretchright"> |
| 81 <kb-key class="search dark" char="Search" image='search' weight="150"> | 81 <kb-key class="search dark" char="Search" image='search' |
| 82 </kb-key> | 82 imageSize="35%" weight="210"></kb-key> |
| 83 <kb-key-sequence keys="asdfghjkl"></kb-key-sequence> | 83 <kb-key-sequence keys="asdfghjkl"></kb-key-sequence> |
| 84 <kb-key-sequence keys=";'" hintTexts=':"'></kb-key-sequence> | 84 <kb-key-sequence keys=";'" hintTexts=':"'></kb-key-sequence> |
| 85 <kb-key class="dark" char="
" align="right" | 85 <kb-key class="dark" char="
" align="right" |
| 86 weight="210">enter</kb-key> | 86 weight="170">enter</kb-key> |
| 87 </kb-row> | 87 </kb-row> |
| 88 <kb-row> | 88 <kb-row align="stretchright"> |
| 89 <kb-shift-key weight="230" align="left">shift</kb-shift-key> | 89 <kb-shift-key weight="265" align="left">shift</kb-shift-key> |
| 90 <kb-key-sequence keys="zxcvbnm"></kb-key-sequence> | 90 <kb-key-sequence keys="zxcvbnm"></kb-key-sequence> |
| 91 <kb-key-sequence keys=",./" hintTexts="<>?"></kb-key-sequence> | 91 <kb-key-sequence keys=",./" hintTexts="<>?"></kb-key-sequence> |
| 92 <kb-shift-key weight="230" align="right">shift</kb-shift-key> | 92 <kb-shift-key weight="135" align="right">shift</kb-shift-key> |
| 93 </kb-row> | 93 </kb-row> |
| 94 <kb-row> | 94 <kb-row> |
| 95 <kb-modifier-key class="symbol dark" weight="150" char="Ctrl" | 95 <kb-modifier-key class="symbol dark" weight="150" char="Ctrl" |
| 96 align="left">ctrl</kb-modifier-key> | 96 align="left">ctrl</kb-modifier-key> |
| 97 <kb-modifier-key class="symbol dark" weight="150" char="Alt" | 97 <kb-modifier-key class="symbol dark" weight="150" char="Alt" |
| 98 align="left">alt</kb-modifier-key> | 98 align="left">alt</kb-modifier-key> |
| 99 <kb-key char=" " class="space dark" weight="760"></kb-key> | 99 <kb-key char=" " class="space dark" weight="760"></kb-key> |
| 100 <kb-key class="dark" repeat char="Arrow-Left" image="left" | 100 <kb-key class="dark" repeat char="Arrow-Left" image="left" |
| 101 weight="75"> </kb-key> | 101 weight="75"> </kb-key> |
| 102 <kb-key class="dark" repeat char="Arrow-Up" image="up" | 102 <kb-key class="dark" repeat char="Arrow-Up" image="up" |
| 103 weight="75"></kb-key> | 103 weight="75"></kb-key> |
| 104 <kb-key class="dark" repeat char="Arrow-Down" image="down" | 104 <kb-key class="dark" repeat char="Arrow-Down" image="down" |
| 105 weight="75"> </kb-key> | 105 weight="75"> </kb-key> |
| 106 <kb-key class="dark" repeat char="Arrow-Right" image="right" | 106 <kb-key class="dark" repeat char="Arrow-Right" image="right" |
| 107 weight="75"></kb-key> | 107 weight="75"></kb-key> |
| 108 <kb-hide-keyboard-key>hide</kb-hide-keyboard-key> | 108 <kb-hide-keyboard-key>hide</kb-hide-keyboard-key> |
| 109 </kb-row> | 109 </kb-row> |
| 110 <kb-altkey-container hidden> | 110 <kb-altkey-container hidden> |
| 111 </kb-altkey-container> | 111 </kb-altkey-container> |
| 112 </kb-keyset> | 112 </kb-keyset> |
| 113 </template> | 113 </template> |
| OLD | NEW |