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

Side by Side Diff: chrome/browser/ui/webui/options/font_settings_handler.h

Issue 2254273003: Remove text encoding UI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 3 months 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void NotifyAdvancedFontSettingsAvailability(); 67 void NotifyAdvancedFontSettingsAvailability();
68 // Opens the options page of the Advanced Font Settings Extension. 68 // Opens the options page of the Advanced Font Settings Extension.
69 void HandleOpenAdvancedFontSettingsOptions(const base::ListValue* args); 69 void HandleOpenAdvancedFontSettingsOptions(const base::ListValue* args);
70 70
71 void OnWebKitDefaultFontSizeChanged(); 71 void OnWebKitDefaultFontSizeChanged();
72 72
73 StringPrefMember standard_font_; 73 StringPrefMember standard_font_;
74 StringPrefMember serif_font_; 74 StringPrefMember serif_font_;
75 StringPrefMember sans_serif_font_; 75 StringPrefMember sans_serif_font_;
76 StringPrefMember fixed_font_; 76 StringPrefMember fixed_font_;
77 StringPrefMember font_encoding_;
78 IntegerPrefMember default_font_size_; 77 IntegerPrefMember default_font_size_;
79 IntegerPrefMember default_fixed_font_size_; 78 IntegerPrefMember default_fixed_font_size_;
80 IntegerPrefMember minimum_font_size_; 79 IntegerPrefMember minimum_font_size_;
81 80
82 ScopedObserver<extensions::ExtensionRegistry, 81 ScopedObserver<extensions::ExtensionRegistry,
83 extensions::ExtensionRegistryObserver> 82 extensions::ExtensionRegistryObserver>
84 extension_registry_observer_; 83 extension_registry_observer_;
85 84
86 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_; 85 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_;
87 86
88 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); 87 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler);
89 }; 88 };
90 89
91 } // namespace options 90 } // namespace options
92 91
93 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ 92 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/frame/system_menu_model_builder.cc ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698