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

Unified Diff: ppapi/shared_impl/ppapi_preferences.h

Issue 10107014: Migrate WebKit "global script" font prefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/shared_impl/ppapi_preferences.h
diff --git a/ppapi/shared_impl/ppapi_preferences.h b/ppapi/shared_impl/ppapi_preferences.h
index 497ea385df7be12b9c4522c32594440263719193..0d2523873e502008deb45d3d7698ba78ae410aad 100644
--- a/ppapi/shared_impl/ppapi_preferences.h
+++ b/ppapi/shared_impl/ppapi_preferences.h
@@ -5,8 +5,8 @@
#ifndef PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
#define PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
-#include "base/string16.h"
#include "ppapi/shared_impl/ppapi_shared_export.h"
+#include "webkit/glue/webpreferences.h"
struct WebPreferences;
@@ -18,10 +18,10 @@ struct PPAPI_SHARED_EXPORT Preferences {
explicit Preferences(const WebPreferences& prefs);
~Preferences();
- string16 standard_font_family;
- string16 fixed_font_family;
- string16 serif_font_family;
- string16 sans_serif_font_family;
+ WebPreferences::ScriptFontFamilyMap standard_font_family_map;
+ WebPreferences::ScriptFontFamilyMap fixed_font_family_map;
+ WebPreferences::ScriptFontFamilyMap serif_font_family_map;
+ WebPreferences::ScriptFontFamilyMap sans_serif_font_family_map;
int default_font_size;
int default_fixed_font_size;

Powered by Google App Engine
This is Rietveld 408576698