| OLD | NEW |
| 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 Loading... |
| 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 }); |
| OLD | NEW |