OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ |
6 #define PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ | 6 #define PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/string16.h" |
| 9 #include "ppapi/shared_impl/ppapi_shared_export.h" |
9 | 10 |
10 struct WebPreferences; | 11 struct WebPreferences; |
11 | 12 |
12 namespace ppapi { | 13 namespace ppapi { |
13 | 14 |
14 struct Preferences { | 15 struct PPAPI_SHARED_EXPORT Preferences { |
15 public: | 16 public: |
16 Preferences(); | 17 Preferences(); |
17 explicit Preferences(const WebPreferences& prefs); | 18 explicit Preferences(const WebPreferences& prefs); |
18 ~Preferences(); | 19 ~Preferences(); |
19 | 20 |
20 string16 standard_font_family; | 21 string16 standard_font_family; |
21 string16 fixed_font_family; | 22 string16 fixed_font_family; |
22 string16 serif_font_family; | 23 string16 serif_font_family; |
23 string16 sans_serif_font_family; | 24 string16 sans_serif_font_family; |
24 int default_font_size; | 25 int default_font_size; |
25 int default_fixed_font_size; | 26 int default_fixed_font_size; |
26 }; | 27 }; |
27 | 28 |
28 } // namespace ppapi | 29 } // namespace ppapi |
29 | 30 |
30 #endif // PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ | 31 #endif // PPAPI_SHARED_IMPL_PPAPI_PREFERENCES_H_ |
OLD | NEW |