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

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

Issue 2541923002: MD Settings: Add Google Play Store (Arc++) section (Closed)
Patch Set: Fix tests Created 4 years 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, basic: boolean, advanced: boolean}} 6 * @typedef {{about: boolean, basic: boolean, advanced: boolean}}
7 */ 7 */
8 var MainPageVisibility; 8 var MainPageVisibility;
9 9
10 /** 10 /**
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 }, 79 },
80 80
81 /** 81 /**
82 * Dictionary defining page visibility. 82 * Dictionary defining page visibility.
83 * @type {!GuestModePageVisibility} 83 * @type {!GuestModePageVisibility}
84 */ 84 */
85 pageVisibility: { 85 pageVisibility: {
86 type: Object, 86 type: Object,
87 value: function() { return {}; }, 87 value: function() { return {}; },
88 }, 88 },
89
90 showAndroidApps: Boolean,
89 }, 91 },
90 92
91 /** @override */ 93 /** @override */
92 attached: function() { 94 attached: function() {
93 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); 95 this.listen(this, 'freeze-scroll', 'onFreezeScroll_');
94 var currentRoute = settings.getCurrentRoute(); 96 var currentRoute = settings.getCurrentRoute();
95 this.hasExpandedSection_ = currentRoute && currentRoute.isSubpage(); 97 this.hasExpandedSection_ = currentRoute && currentRoute.isSubpage();
96 }, 98 },
97 99
98 /** @override */ 100 /** @override */
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 358
357 /** 359 /**
358 * @param {(boolean|undefined)} visibility 360 * @param {(boolean|undefined)} visibility
359 * @return {boolean} True unless visibility is false. 361 * @return {boolean} True unless visibility is false.
360 * @private 362 * @private
361 */ 363 */
362 showAdvancedSettings_: function(visibility) { 364 showAdvancedSettings_: function(visibility) {
363 return visibility !== false; 365 return visibility !== false;
364 }, 366 },
365 }); 367 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698