OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "ppapi/proxy/serialized_structs.h" | 5 #include "ppapi/proxy/serialized_structs.h" |
6 | 6 |
7 #include "base/pickle.h" | 7 #include "base/pickle.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ppapi/c/dev/ppb_font_dev.h" | 9 #include "ppapi/c/dev/ppb_font_dev.h" |
10 #include "ppapi/c/pp_file_info.h" | 10 #include "ppapi/c/pp_file_info.h" |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 desc->family = static_cast<PP_BrowserFont_Trusted_Family>(family); | 74 desc->family = static_cast<PP_BrowserFont_Trusted_Family>(family); |
75 desc->size = size; | 75 desc->size = size; |
76 desc->weight = static_cast<PP_BrowserFont_Trusted_Weight>(weight); | 76 desc->weight = static_cast<PP_BrowserFont_Trusted_Weight>(weight); |
77 desc->italic = italic; | 77 desc->italic = italic; |
78 desc->small_caps = small_caps; | 78 desc->small_caps = small_caps; |
79 desc->letter_spacing = letter_spacing; | 79 desc->letter_spacing = letter_spacing; |
80 desc->word_spacing = word_spacing; | 80 desc->word_spacing = word_spacing; |
81 } | 81 } |
82 | 82 |
83 SerializedNetworkInfo::SerializedNetworkInfo() | 83 SerializedNetworkInfo::SerializedNetworkInfo() |
84 : type(PP_NETWORKLIST_UNKNOWN), | 84 : type(PP_NETWORKLIST_TYPE_UNKNOWN), |
85 state(PP_NETWORKLIST_DOWN), | 85 state(PP_NETWORKLIST_STATE_DOWN), |
86 mtu(0) { | 86 mtu(0) { |
87 } | 87 } |
88 | 88 |
89 SerializedNetworkInfo::~SerializedNetworkInfo() {} | 89 SerializedNetworkInfo::~SerializedNetworkInfo() {} |
90 | 90 |
91 SerializedTrueTypeFontDesc::SerializedTrueTypeFontDesc() | 91 SerializedTrueTypeFontDesc::SerializedTrueTypeFontDesc() |
92 : family(), | 92 : family(), |
93 generic_family(), | 93 generic_family(), |
94 style(), | 94 style(), |
95 weight(), | 95 weight(), |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 clip.size.width = 0; | 132 clip.size.width = 0; |
133 position.x = 0; | 133 position.x = 0; |
134 position.y = 0; | 134 position.y = 0; |
135 allow_subpixel_aa = PP_FALSE; | 135 allow_subpixel_aa = PP_FALSE; |
136 } | 136 } |
137 | 137 |
138 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 138 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
139 | 139 |
140 } // namespace proxy | 140 } // namespace proxy |
141 } // namespace ppapi | 141 } // namespace ppapi |
OLD | NEW |