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

Side by Side Diff: chrome/browser/resources/settings/on_startup_page/on_startup_page.js

Issue 2946563002: Run clang-format on .js files in c/b/r/settings (Closed)
Patch Set: dschuyler@ review 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'settings-on-startup-page' is a settings page. 7 * 'settings-on-startup-page' is a settings page.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 * @param {?NtpExtension} ntpExtension 58 * @param {?NtpExtension} ntpExtension
59 * @param {number} restoreOnStartup Value of prefs.session.restore_on_startup. 59 * @param {number} restoreOnStartup Value of prefs.session.restore_on_startup.
60 * @return {boolean} 60 * @return {boolean}
61 * @private 61 * @private
62 */ 62 */
63 showIndicator_: function(ntpExtension, restoreOnStartup) { 63 showIndicator_: function(ntpExtension, restoreOnStartup) {
64 return !!ntpExtension && restoreOnStartup == this.prefValues_.OPEN_NEW_TAB; 64 return !!ntpExtension && restoreOnStartup == this.prefValues_.OPEN_NEW_TAB;
65 }, 65 },
66 66
67 /** 67 /**
68 * Determine whether to show the user defined startup pages. 68 * Determine whether to show the user defined startup pages.
69 * @param {number} restoreOnStartup Enum value from prefValues_. 69 * @param {number} restoreOnStartup Enum value from prefValues_.
70 * @return {boolean} Whether the open specific pages is selected. 70 * @return {boolean} Whether the open specific pages is selected.
71 * @private 71 * @private
72 */ 72 */
73 showStartupUrls_: function(restoreOnStartup) { 73 showStartupUrls_: function(restoreOnStartup) {
74 return restoreOnStartup == this.prefValues_.OPEN_SPECIFIC; 74 return restoreOnStartup == this.prefValues_.OPEN_SPECIFIC;
75 }, 75 },
76 }); 76 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698