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

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

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/login/oobe_welcome_dialog.js
diff --git a/chrome/browser/resources/chromeos/login/oobe_welcome_dialog.js b/chrome/browser/resources/chromeos/login/oobe_welcome_dialog.js
index 2ee303968e6fdad9b71eb422e04e9842fe2c37c6..dbc0d7a1cb92f1e9165df2e7d025e1ea98b12519 100644
--- a/chrome/browser/resources/chromeos/login/oobe_welcome_dialog.js
+++ b/chrome/browser/resources/chromeos/login/oobe_welcome_dialog.js
@@ -24,7 +24,7 @@ Polymer({
/**
* Controls displaying of "Enable debugging features" link.
*/
- debuggingLinkVisible: Boolean,
+ debuggingLinkVisible: Boolean,
},
/**
@@ -34,28 +34,28 @@ Polymer({
focusedElement_: 'languageSelectionButton',
onLanguageClicked_: function() {
- this.focusedElement_ = "languageSelectionButton";
+ this.focusedElement_ = 'languageSelectionButton';
this.fire('language-button-clicked');
},
onAccessibilityClicked_: function() {
- this.focusedElement_ = "accessibilitySettingsButton";
+ this.focusedElement_ = 'accessibilitySettingsButton';
this.fire('accessibility-button-clicked');
},
onTimezoneClicked_: function() {
- this.focusedElement_ = "timezoneSettingsButton";
+ this.focusedElement_ = 'timezoneSettingsButton';
this.fire('timezone-button-clicked');
},
onNextClicked_: function() {
- this.focusedElement_ = "welcomeNextButton";
+ this.focusedElement_ = 'welcomeNextButton';
this.fire('next-button-clicked');
},
onDebuggingLinkClicked_: function() {
- chrome.send('login.NetworkScreen.userActed',
- ['connect-debugging-features']);
+ chrome.send(
+ 'login.NetworkScreen.userActed', ['connect-debugging-features']);
},
attached: function() {
@@ -69,18 +69,18 @@ Polymer({
},
/**
- * This is called from oobe_welcome when this dialog is shown.
- */
+ * This is called from oobe_welcome when this dialog is shown.
+ */
show: function() {
this.focus();
},
/**
- * This function formats message for labels.
- * @param String label i18n string ID.
- * @param String parameter i18n string parameter.
- * @private
- */
+ * This function formats message for labels.
+ * @param String label i18n string ID.
+ * @param String parameter i18n string parameter.
+ * @private
+ */
formatMessage_: function(label, parameter) {
return loadTimeData.getStringF(label, parameter);
},

Powered by Google App Engine
This is Rietveld 408576698