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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 years, 7 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 25 matching lines...) Expand all
36 void GetLocalizedValues(base::DictionaryValue* localized_strings) override; 36 void GetLocalizedValues(base::DictionaryValue* localized_strings) override;
37 void InitializeHandler() override; 37 void InitializeHandler() override;
38 void InitializePage() override; 38 void InitializePage() override;
39 39
40 // WebUIMessageHandler implementation. 40 // WebUIMessageHandler implementation.
41 void RegisterMessages() override; 41 void RegisterMessages() override;
42 42
43 // ExtensionRegistryObserver implementation. 43 // ExtensionRegistryObserver implementation.
44 void OnExtensionLoaded(content::BrowserContext* browser_context, 44 void OnExtensionLoaded(content::BrowserContext* browser_context,
45 const extensions::Extension* extension) override; 45 const extensions::Extension* extension) override;
46 void OnExtensionUnloaded( 46 void OnExtensionUnloaded(content::BrowserContext* browser_context,
47 content::BrowserContext* browser_context, 47 const extensions::Extension* extension,
48 const extensions::Extension* extension, 48 extensions::UnloadedExtensionReason reason) override;
49 extensions::UnloadedExtensionInfo::Reason reason) override;
50 49
51 private: 50 private:
52 void HandleFetchFontsData(const base::ListValue* args); 51 void HandleFetchFontsData(const base::ListValue* args);
53 52
54 void FontsListHasLoaded(std::unique_ptr<base::ListValue> list); 53 void FontsListHasLoaded(std::unique_ptr<base::ListValue> list);
55 54
56 void SetUpStandardFontSample(); 55 void SetUpStandardFontSample();
57 void SetUpSerifFontSample(); 56 void SetUpSerifFontSample();
58 void SetUpSansSerifFontSample(); 57 void SetUpSansSerifFontSample();
59 void SetUpFixedFontSample(); 58 void SetUpFixedFontSample();
(...skipping 23 matching lines...) Expand all
83 extension_registry_observer_; 82 extension_registry_observer_;
84 83
85 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_; 84 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); 86 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler);
88 }; 87 };
89 88
90 } // namespace options 89 } // namespace options
91 90
92 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ 91 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.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