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

Unified Diff: ppapi/shared_impl/ppapi_preferences.h

Issue 7053022: Use the WebKit default fonts when specifying generic font families. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
===================================================================
--- ppapi/shared_impl/ppapi_preferences.h (revision 0)
+++ ppapi/shared_impl/ppapi_preferences.h (revision 0)
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
+#define PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
+
+#include "base/string16.h"
+
+struct WebPreferences;
+
+namespace ppapi {
+
+struct Preferences {
+ public:
+ Preferences();
+ explicit Preferences(const WebPreferences& prefs);
+ ~Preferences();
+
+ string16 standard_font_family;
+ string16 fixed_font_family;
+ string16 serif_font_family;
+ string16 sans_serif_font_family;
+ int default_font_size;
+ int default_fixed_font_size;
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
Property changes on: ppapi/shared_impl/ppapi_preferences.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698