Update V8 to version 4.5.80.
[chromium-blink-merge.git] / ppapi / shared_impl / ppapi_preferences.h
blob8858bd9b2ff9c9bc2584fad0a1c924f9eee301ca
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
6 #define PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_
8 #include <map>
9 #include <string>
11 #include "base/strings/string16.h"
12 #include "ppapi/shared_impl/ppapi_shared_export.h"
14 namespace ppapi {
16 struct PPAPI_SHARED_EXPORT Preferences {
17 public:
18 typedef std::map<std::string, base::string16> ScriptFontFamilyMap;
20 Preferences();
21 ~Preferences();
23 ScriptFontFamilyMap standard_font_family_map;
24 ScriptFontFamilyMap fixed_font_family_map;
25 ScriptFontFamilyMap serif_font_family_map;
26 ScriptFontFamilyMap sans_serif_font_family_map;
27 int default_font_size;
28 int default_fixed_font_size;
29 int number_of_cpu_cores;
30 bool is_3d_supported;
31 bool is_stage3d_supported;
32 bool is_stage3d_baseline_supported;
33 bool is_webgl_supported;
34 bool is_accelerated_video_decode_enabled;
37 } // namespace ppapi
39 #endif // PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_