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

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

Issue 1290583002: Settings: Implement sub-subpages, and clean up some animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 * 'cr-settings-search-page' is the settings page containing search settings. 7 * 'cr-settings-search-page' is the settings page containing search settings.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 if (engine.isSelected) { 106 if (engine.isSelected) {
107 this.$.searchEnginesMenu.value = engine.guid; 107 this.$.searchEnginesMenu.value = engine.guid;
108 } 108 }
109 } 109 }
110 }, this); 110 }, this);
111 111
112 this.searchEngines = defaultEngines; 112 this.searchEngines = defaultEngines;
113 }, 113 },
114 114
115 /** @private */ 115 /** @private */
116 manageSearchEngines_: function() { 116 onBackTap_: function() {
117 this.$.pages.back();
118 },
119
120 /** @private */
121 onSearchEnginesTap_: function() {
117 this.$.pages.navigateTo('search-engines'); 122 this.$.pages.navigateTo('search-engines');
118 }, 123 },
119 124
120 /** @private */ 125 /** @private */
121 handleBack_: function() { 126 onSearchEnginesSubpageTap_: function() {
122 this.$.pages.back(); 127 this.$.pages.navigateTo('search-engines-subpage');
123 }, 128 },
124 }); 129 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698