summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppapi_preferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/ppapi_preferences.h')
-rw-r--r--ppapi/shared_impl/ppapi_preferences.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppapi_preferences.h b/ppapi/shared_impl/ppapi_preferences.h
new file mode 100644
index 0000000..e026290
--- /dev/null
+++ b/ppapi/shared_impl/ppapi_preferences.h
@@ -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_