| // Copyright 2012 The Chromium Authors |
| // 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 "ppapi/shared_impl/ppapi_shared_export.h" |
| struct PPAPI_SHARED_EXPORT Preferences { |
| typedef std::map<std::string, std::u16string> ScriptFontFamilyMap; |
| ScriptFontFamilyMap standard_font_family_map; |
| ScriptFontFamilyMap fixed_font_family_map; |
| ScriptFontFamilyMap serif_font_family_map; |
| ScriptFontFamilyMap sans_serif_font_family_map; |
| int default_fixed_font_size; |
| bool is_stage3d_supported; |
| bool is_stage3d_baseline_supported; |
| bool is_accelerated_video_decode_enabled; |
| #endif // PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ |