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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 desc->face = StringVar::StringToPPVar(face); | 73 desc->face = StringVar::StringToPPVar(face); |
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() | |
84 : type(PP_NETWORKLIST_UNKNOWN), | |
85 state(PP_NETWORKLIST_DOWN), | |
86 mtu(0) { | |
87 } | |
88 | |
89 SerializedNetworkInfo::~SerializedNetworkInfo() {} | |
90 | |
91 SerializedTrueTypeFontDesc::SerializedTrueTypeFontDesc() | 83 SerializedTrueTypeFontDesc::SerializedTrueTypeFontDesc() |
92 : family(), | 84 : family(), |
93 generic_family(), | 85 generic_family(), |
94 style(), | 86 style(), |
95 weight(), | 87 weight(), |
96 width(), | 88 width(), |
97 charset() { | 89 charset() { |
98 } | 90 } |
99 | 91 |
100 SerializedTrueTypeFontDesc::~SerializedTrueTypeFontDesc() {} | 92 SerializedTrueTypeFontDesc::~SerializedTrueTypeFontDesc() {} |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 clip.size.width = 0; | 124 clip.size.width = 0; |
133 position.x = 0; | 125 position.x = 0; |
134 position.y = 0; | 126 position.y = 0; |
135 allow_subpixel_aa = PP_FALSE; | 127 allow_subpixel_aa = PP_FALSE; |
136 } | 128 } |
137 | 129 |
138 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 130 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
139 | 131 |
140 } // namespace proxy | 132 } // namespace proxy |
141 } // namespace ppapi | 133 } // namespace ppapi |
OLD | NEW |