| 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 * 'settings-appearance-page' is the settings page containing appearance | 6 * 'settings-appearance-page' is the settings page containing appearance |
| 7 * settings. | 7 * settings. |
| 8 * | 8 * |
| 9 * Example: | 9 * Example: |
| 10 * | 10 * |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 properties: { | 23 properties: { |
| 24 /** | 24 /** |
| 25 * The current active route. | 25 * The current active route. |
| 26 */ | 26 */ |
| 27 currentRoute: { | 27 currentRoute: { |
| 28 notify: true, | 28 notify: true, |
| 29 type: Object, | 29 type: Object, |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * Preferences state. | |
| 34 */ | |
| 35 allowResetTheme_: { | |
| 36 notify: true, | |
| 37 type: Boolean, | |
| 38 value: false, | |
| 39 }, | |
| 40 | |
| 41 /** | |
| 42 * @private | 33 * @private |
| 43 */ | 34 */ |
| 44 allowResetTheme_: { | 35 allowResetTheme_: { |
| 45 notify: true, | 36 notify: true, |
| 46 type: Boolean, | 37 type: Boolean, |
| 47 value: false, | 38 value: false, |
| 48 }, | 39 }, |
| 49 | 40 |
| 50 /** | 41 /** |
| 51 * List of options for the font size drop-down menu. | 42 * List of options for the font size drop-down menu. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 /** @private */ | 93 /** @private */ |
| 103 openThemesGallery_: function() { | 94 openThemesGallery_: function() { |
| 104 window.open(loadTimeData.getString('themesGalleryUrl')); | 95 window.open(loadTimeData.getString('themesGalleryUrl')); |
| 105 }, | 96 }, |
| 106 | 97 |
| 107 /** @private */ | 98 /** @private */ |
| 108 resetTheme_: function() { | 99 resetTheme_: function() { |
| 109 chrome.send('resetTheme'); | 100 chrome.send('resetTheme'); |
| 110 }, | 101 }, |
| 111 }); | 102 }); |
| OLD | NEW |