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

Unified Diff: chrome/browser/ui/webui/options/font_settings_handler.h

Issue 9500008: Move font_list_async.h to content/public. Switch to Pass() goodness to simplify code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix clang Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/ui/webui/options/font_settings_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/font_settings_handler.h
===================================================================
--- chrome/browser/ui/webui/options/font_settings_handler.h (revision 124079)
+++ chrome/browser/ui/webui/options/font_settings_handler.h (working copy)
@@ -6,10 +6,14 @@
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
#pragma once
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/prefs/pref_member.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
-#include "content/browser/font_list_async.h"
+namespace base {
+class ListValue;
+}
+
// Font settings overlay page UI handler.
class FontSettingsHandler : public OptionsPageUIHandler {
public:
@@ -31,7 +35,7 @@
private:
void HandleFetchFontsData(const ListValue* args);
- void FontsListHasLoaded(scoped_refptr<content::FontListResult> list);
+ void FontsListHasLoaded(scoped_ptr<base::ListValue> list);
void SetUpStandardFontSample();
void SetUpSerifFontSample();
« no previous file with comments | « chrome/browser/DEPS ('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