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

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

Issue 2964293002: CrOS Settings: Add skeleton page for multidevice section. (Closed)
Patch Set: Sync and rebase Created 3 years, 5 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
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: Object, 77 pageVisibility: Object,
78 78
79 showAndroidApps: Boolean, 79 showAndroidApps: Boolean,
80 80
81 showMultidevice: Boolean,
82
81 havePlayStoreApp: Boolean, 83 havePlayStoreApp: Boolean,
82 }, 84 },
83 85
84 /** @override */ 86 /** @override */
85 attached: function() { 87 attached: function() {
86 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); 88 this.listen(this, 'freeze-scroll', 'onFreezeScroll_');
87 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); 89 this.listen(this, 'lazy-loaded', 'onLazyLoaded_');
88 }, 90 },
89 91
90 /** @private */ 92 /** @private */
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 text: this.showNoResultsFound_ ? 283 text: this.showNoResultsFound_ ?
282 loadTimeData.getString('searchNoResults') : 284 loadTimeData.getString('searchNoResults') :
283 loadTimeData.getStringF('searchResults', query) 285 loadTimeData.getStringF('searchResults', query)
284 }); 286 });
285 } 287 }
286 }.bind(this)); 288 }.bind(this));
287 }.bind(this), 0); 289 }.bind(this), 0);
288 }.bind(this)); 290 }.bind(this));
289 }, 291 },
290 }); 292 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698