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

Side by Side Diff: ui/keyboard/resources/elements/kb-keyset.js

Issue 252223002: Remove numeric hinttext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 Polymer('kb-keyset', { 5 Polymer('kb-keyset', {
6 align: "center", 6 align: "center",
7 // Propagate flick gestures to keys in this keyset.
8 flick: true,
7 isDefault: false, 9 isDefault: false,
8 nextKeyset: undefined, 10 nextKeyset: undefined,
9 // Weight offsets for positioning the keyset. 11 // Weight offsets for positioning the keyset.
10 weightBottom: 15, 12 weightBottom: 15,
11 weightLeft: 10, 13 weightLeft: 10,
12 weightRight: 10, 14 weightRight: 10,
13 weightTop: 6, 15 weightTop: 6,
14 16
15 /** 17 /**
16 * Weight assigned to space between keys, of the form "xPitch yPitch". 18 * Weight assigned to space between keys, of the form "xPitch yPitch".
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 var old = $('keyboard').querySelector('.activeKeyset'); 95 var old = $('keyboard').querySelector('.activeKeyset');
94 if (old && old != this) 96 if (old && old != this)
95 old.classList.remove('activeKeyset'); 97 old.classList.remove('activeKeyset');
96 this.classList.add('activeKeyset'); 98 this.classList.add('activeKeyset');
97 this.fire('stateChange', { 99 this.fire('stateChange', {
98 state: 'keysetChanged', 100 state: 'keysetChanged',
99 value: this.id 101 value: this.id
100 }); 102 });
101 }, 103 },
102 }); 104 });
OLDNEW
« no previous file with comments | « ui/keyboard/resources/elements/kb-keyset.html ('k') | ui/keyboard/resources/layouts/qwerty.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698