| 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 * 'settings-search-page' is the settings page containing search settings. | 7 * 'settings-search-page' is the settings page containing search settings. |
| 8 */ | 8 */ |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'settings-search-page', | 10 is: 'settings-search-page', |
| 11 | 11 |
| 12 behaviors: [ |
| 13 I18nBehavior, |
| 14 ], |
| 15 |
| 12 properties: { | 16 properties: { |
| 13 /** | 17 /** |
| 14 * The current active route. | 18 * The current active route. |
| 15 */ | 19 */ |
| 16 currentRoute: { | 20 currentRoute: { |
| 17 type: Object, | 21 type: Object, |
| 18 notify: true, | 22 notify: true, |
| 19 }, | 23 }, |
| 20 | 24 |
| 21 /** | 25 /** |
| (...skipping 26 matching lines...) Expand all Loading... |
| 48 /** @private */ | 52 /** @private */ |
| 49 onManageSearchEnginesTap_: function() { | 53 onManageSearchEnginesTap_: function() { |
| 50 this.$.pages.setSubpageChain(['search-engines']); | 54 this.$.pages.setSubpageChain(['search-engines']); |
| 51 }, | 55 }, |
| 52 | 56 |
| 53 /** @private */ | 57 /** @private */ |
| 54 onDefaultEngineChanged_: function() { | 58 onDefaultEngineChanged_: function() { |
| 55 this.browserProxy_.setDefaultSearchEngine(this.$.searchEnginesMenu.value); | 59 this.browserProxy_.setDefaultSearchEngine(this.$.searchEnginesMenu.value); |
| 56 }, | 60 }, |
| 57 }); | 61 }); |
| OLD | NEW |