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

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

Issue 2957153003: MD Settings: remove unsupported routes from guest-mode. (Closed)
Patch Set: merge 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 * @fileoverview 'settings-search-engines-page' is the settings page 6 * @fileoverview 'settings-search-engines-page' is the settings page
7 * containing search engines settings. 7 * containing search engines settings.
8 */ 8 */
9 Polymer({ 9 Polymer({
10 is: 'settings-search-engines-page', 10 is: 'settings-search-engines-page',
(...skipping 24 matching lines...) Expand all
35 return []; 35 return [];
36 } 36 }
37 }, 37 },
38 38
39 /** 39 /**
40 * Needed by GlobalScrollTargetBehavior. 40 * Needed by GlobalScrollTargetBehavior.
41 * @override 41 * @override
42 */ 42 */
43 subpageRoute: { 43 subpageRoute: {
44 type: Object, 44 type: Object,
45 value: settings.Route.SEARCH_ENGINES, 45 value: settings.routes.SEARCH_ENGINES,
46 }, 46 },
47 47
48 /** @private {boolean} */ 48 /** @private {boolean} */
49 showAddSearchEngineDialog_: Boolean, 49 showAddSearchEngineDialog_: Boolean,
50 50
51 /** @private {boolean} */ 51 /** @private {boolean} */
52 showExtensionsList_: { 52 showExtensionsList_: {
53 type: Boolean, 53 type: Boolean,
54 computed: 'computeShowExtensionsList_(extensions)', 54 computed: 'computeShowExtensionsList_(extensions)',
55 }, 55 },
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 cr.ui.focusWithoutInk(assert(this.$.addSearchEngine)); 115 cr.ui.focusWithoutInk(assert(this.$.addSearchEngine));
116 }.bind(this)); 116 }.bind(this));
117 }.bind(this)); 117 }.bind(this));
118 }, 118 },
119 119
120 /** @private */ 120 /** @private */
121 computeShowExtensionsList_: function() { 121 computeShowExtensionsList_: function() {
122 return this.extensions.length > 0; 122 return this.extensions.length > 0;
123 }, 123 },
124 }); 124 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/route.js ('k') | chrome/browser/resources/settings/search_page/search_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698