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/pp_file_info.h" | 9 #include "ppapi/c/pp_file_info.h" |
10 #include "ppapi/c/pp_rect.h" | 10 #include "ppapi/c/pp_rect.h" |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 PP_TrueTypeFontDesc_Dev* desc) const { | 88 PP_TrueTypeFontDesc_Dev* desc) const { |
89 desc->family = StringVar::StringToPPVar(family); | 89 desc->family = StringVar::StringToPPVar(family); |
90 | 90 |
91 desc->generic_family = generic_family; | 91 desc->generic_family = generic_family; |
92 desc->style = style; | 92 desc->style = style; |
93 desc->weight = weight; | 93 desc->weight = weight; |
94 desc->width = width; | 94 desc->width = width; |
95 desc->charset = charset; | 95 desc->charset = charset; |
96 } | 96 } |
97 | 97 |
| 98 SerializedVpnProviderParameters::SerializedVpnProviderParameters() : mtu(0) {} |
| 99 SerializedVpnProviderParameters::~SerializedVpnProviderParameters() {} |
| 100 |
98 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() | 101 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() |
99 : instance(0), | 102 : instance(0), |
100 font_desc(), | 103 font_desc(), |
101 color(0) { | 104 color(0) { |
102 clip.point.x = 0; | 105 clip.point.x = 0; |
103 clip.point.y = 0; | 106 clip.point.y = 0; |
104 clip.size.height = 0; | 107 clip.size.height = 0; |
105 clip.size.width = 0; | 108 clip.size.width = 0; |
106 position.x = 0; | 109 position.x = 0; |
107 position.y = 0; | 110 position.y = 0; |
108 allow_subpixel_aa = PP_FALSE; | 111 allow_subpixel_aa = PP_FALSE; |
109 } | 112 } |
110 | 113 |
111 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 114 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
112 | 115 |
113 } // namespace proxy | 116 } // namespace proxy |
114 } // namespace ppapi | 117 } // namespace ppapi |
OLD | NEW |