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

Side by Side Diff: chrome/browser/resources/chromeos/login/oobe_buttons.js

Issue 2952943002: Update voice interaction OOBE with new UX spec (Closed)
Patch Set: Rebase Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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({ 5 Polymer({
6 is: 'oobe-text-button', 6 is: 'oobe-text-button',
7 7
8 properties: { 8 properties: {
9 disabled: {type: Boolean, value: false, reflectToAttribute: true}, 9 disabled: {type: Boolean, value: false, reflectToAttribute: true},
10 10
11 inverse: Boolean, 11 inverse: Boolean,
12 12
13 border: Boolean, 13 border: Boolean,
14 14
15 android: {type: Boolean, value: false},
16
15 /* Note that we are not using "aria-label" property here, because 17 /* Note that we are not using "aria-label" property here, because
16 * we want to pass the label value but not actually declare it as an 18 * we want to pass the label value but not actually declare it as an
17 * ARIA property anywhere but the actual target element. 19 * ARIA property anywhere but the actual target element.
18 */ 20 */
19 labelForAria: String, 21 labelForAria: String,
20 }, 22 },
21 23
22 focus: function() { 24 focus: function() {
23 this.$.textButton.focus(); 25 this.$.textButton.focus();
24 }, 26 },
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 * we want to pass the label value but not actually declare it as an 82 * we want to pass the label value but not actually declare it as an
81 * ARIA property anywhere but the actual target element. 83 * ARIA property anywhere but the actual target element.
82 */ 84 */
83 labelForAria: String 85 labelForAria: String
84 }, 86 },
85 87
86 focus: function() { 88 focus: function() {
87 this.$.button.focus(); 89 this.$.button.focus();
88 }, 90 },
89 }); 91 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_buttons.html ('k') | chrome/browser/resources/chromeos/login/oobe_dialog.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698