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

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

Issue 2756863002: ChromeOS: Powerwash UI update (Closed)
Patch Set: merge Created 3 years, 8 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,
14
13 /* Note that we are not using "aria-label" property here, because 15 /* Note that we are not using "aria-label" property here, because
14 * we want to pass the label value but not actually declare it as an 16 * we want to pass the label value but not actually declare it as an
15 * ARIA property anywhere but the actual target element. 17 * ARIA property anywhere but the actual target element.
16 */ 18 */
17 labelForAria: String, 19 labelForAria: String,
18 }, 20 },
19 21
20 focus: function() { 22 focus: function() {
21 this.$.textButton.focus(); 23 this.$.textButton.focus();
22 }, 24 },
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 * we want to pass the label value but not actually declare it as an 80 * we want to pass the label value but not actually declare it as an
79 * ARIA property anywhere but the actual target element. 81 * ARIA property anywhere but the actual target element.
80 */ 82 */
81 labelForAria: String 83 labelForAria: String
82 }, 84 },
83 85
84 focus: function() { 86 focus: function() {
85 this.$.button.focus(); 87 this.$.button.focus();
86 }, 88 },
87 }); 89 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_buttons.html ('k') | chrome/browser/resources/chromeos/login/oobe_reset.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698