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

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

Issue 2663293002: MD WebUI: Networking polish in OOBE and Settings (Closed)
Patch Set: Rebase Created 3 years, 10 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
(...skipping 21 matching lines...) Expand all
32 this.$.button.focus(); 32 this.$.button.focus();
33 }, 33 },
34 34
35 onClick_: function(e) { 35 onClick_: function(e) {
36 if (this.disabled) 36 if (this.disabled)
37 e.stopPropagation(); 37 e.stopPropagation();
38 } 38 }
39 }); 39 });
40 40
41 Polymer({ 41 Polymer({
42 is: 'oobe-next-button',
43
44 properties: {
45 disabled: {type: Boolean, value: false, reflectToAttribute: true},
46 },
47
48 focus: function() {
49 this.$.button.focus();
50 },
51
52 onClick_: function(e) {
53 if (this.disabled)
54 e.stopPropagation();
55 }
56 });
57
58 Polymer({
42 is: 'oobe-welcome-secondary-button', 59 is: 'oobe-welcome-secondary-button',
43 60
44 properties: { 61 properties: {
45 icon: String, 62 icon: String,
46 63
47 ariaLabel: String 64 ariaLabel: String
48 }, 65 },
49 }); 66 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_buttons.html ('k') | chrome/browser/resources/chromeos/login/oobe_nav_button.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698