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

Unified Diff: chrome/browser/resources/chromeos/login/oobe_buttons.js

Issue 2398383002: ChromeOS: Update Welcome screen material design OOBE. (Closed)
Patch Set: Update after review. Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/oobe_buttons.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_buttons.js b/chrome/browser/resources/chromeos/login/oobe_buttons.js
index dac5f05e37d1a2215d17d3dc47cea0d315800b1c..1b469a99bcabbbdb2a007c844a33255f6d158e7d 100644
--- a/chrome/browser/resources/chromeos/login/oobe_buttons.js
+++ b/chrome/browser/resources/chromeos/login/oobe_buttons.js
@@ -3,18 +3,16 @@
// found in the LICENSE file.
Polymer({
- is: 'oobe-icon-button',
+ is: 'oobe-text-button',
properties: {
disabled: {type: Boolean, value: false, reflectToAttribute: true},
- icon: String,
-
- ariaLabel: String
+ inverse: Boolean,
},
focus: function() {
- this.$.iconButton.focus();
+ this.$.textButton.focus();
},
onClick_: function(e) {
@@ -24,22 +22,11 @@ Polymer({
});
Polymer({
- is: 'oobe-text-button',
+ is: 'oobe-welcome-secondary-button',
properties: {
- disabled: {type: Boolean, value: false, reflectToAttribute: true},
-
- label: String,
-
- inverse: Boolean,
- },
+ icon: String,
- focus: function() {
- this.$.textButton.focus();
+ ariaLabel: String
},
-
- onClick_: function(e) {
- if (this.disabled)
- e.stopPropagation();
- }
});

Powered by Google App Engine
This is Rietveld 408576698