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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 | 92 |
93 /** @private */ | 93 /** @private */ |
94 openThemesGallery_: function() { | 94 openThemesGallery_: function() { |
95 window.open(loadTimeData.getString('themesGalleryUrl')); | 95 window.open(loadTimeData.getString('themesGalleryUrl')); |
96 }, | 96 }, |
97 | 97 |
98 /** @private */ | 98 /** @private */ |
99 resetTheme_: function() { | 99 resetTheme_: function() { |
100 chrome.send('resetTheme'); | 100 chrome.send('resetTheme'); |
101 }, | 101 }, |
| 102 |
| 103 /** @private */ |
| 104 showFontsPage_: function() { |
| 105 return this.currentRoute.subpage[0] == 'appearance-fonts'; |
| 106 }, |
102 }); | 107 }); |
OLD | NEW |