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

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

Issue 2855253003: MD Settings: Eliminate SettingsSubpageBrowsertest. (Closed)
Patch Set: Resolve conflicts. Created 3 years, 7 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 * @typedef {{about: boolean, settings: boolean}} 6 * @typedef {{about: boolean, settings: boolean}}
7 */ 7 */
8 var MainPageVisibility; 8 var MainPageVisibility;
9 9
10 /** 10 /**
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 toolbarSpinnerActive: { 67 toolbarSpinnerActive: {
68 type: Boolean, 68 type: Boolean,
69 value: false, 69 value: false,
70 notify: true, 70 notify: true,
71 }, 71 },
72 72
73 /** 73 /**
74 * Dictionary defining page visibility. 74 * Dictionary defining page visibility.
75 * @type {!GuestModePageVisibility} 75 * @type {!GuestModePageVisibility}
76 */ 76 */
77 pageVisibility: { 77 pageVisibility: Object,
78 type: Object,
79 value: function() {
80 return {};
81 },
82 },
83 78
84 showAndroidApps: Boolean, 79 showAndroidApps: Boolean,
85 }, 80 },
86 81
87 /** @override */ 82 /** @override */
88 attached: function() { 83 attached: function() {
89 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); 84 this.listen(this, 'freeze-scroll', 'onFreezeScroll_');
90 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); 85 this.listen(this, 'lazy-loaded', 'onLazyLoaded_');
91 }, 86 },
92 87
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 text: this.showNoResultsFound_ ? 278 text: this.showNoResultsFound_ ?
284 loadTimeData.getString('searchNoResults') : 279 loadTimeData.getString('searchNoResults') :
285 loadTimeData.getStringF('searchResults', query) 280 loadTimeData.getStringF('searchResults', query)
286 }); 281 });
287 } 282 }
288 }.bind(this)); 283 }.bind(this));
289 }.bind(this), 0); 284 }.bind(this), 0);
290 }.bind(this)); 285 }.bind(this));
291 }, 286 },
292 }); 287 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698