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

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

Issue 1408343010: [MD settings] closure fixes for appearance_font_menu and allowResetTheme (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/appearance_page/compiled_resources.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 * '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
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
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 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/appearance_page/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698