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