OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "ppapi/c/dev/ppb_font_dev.h" | 7 #include "ppapi/c/dev/ppb_font_dev.h" |
| 8 #include "ppapi/c/dev/pp_file_info_dev.h" |
8 #include "ppapi/c/pp_rect.h" | 9 #include "ppapi/c/pp_rect.h" |
9 | 10 |
10 namespace pp { | 11 namespace pp { |
11 namespace proxy { | 12 namespace proxy { |
12 | 13 |
13 SerializedFontDescription::SerializedFontDescription() | 14 SerializedFontDescription::SerializedFontDescription() |
14 : face(), | 15 : face(), |
15 family(0), | 16 family(0), |
16 size(0), | 17 size(0), |
17 weight(0), | 18 weight(0), |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 56 |
56 desc->family = static_cast<PP_FontFamily_Dev>(family); | 57 desc->family = static_cast<PP_FontFamily_Dev>(family); |
57 desc->size = size; | 58 desc->size = size; |
58 desc->weight = static_cast<PP_FontWeight_Dev>(weight); | 59 desc->weight = static_cast<PP_FontWeight_Dev>(weight); |
59 desc->italic = italic; | 60 desc->italic = italic; |
60 desc->small_caps = small_caps; | 61 desc->small_caps = small_caps; |
61 desc->letter_spacing = letter_spacing; | 62 desc->letter_spacing = letter_spacing; |
62 desc->word_spacing = word_spacing; | 63 desc->word_spacing = word_spacing; |
63 } | 64 } |
64 | 65 |
| 66 PPBFileRef_CreateInfo::PPBFileRef_CreateInfo() |
| 67 : file_system_type(PP_FILESYSTEMTYPE_EXTERNAL) { |
| 68 } |
| 69 |
65 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() | 70 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() |
66 : instance(0), | 71 : instance(0), |
67 font_desc(), | 72 font_desc(), |
68 color(0) { | 73 color(0) { |
69 } | 74 } |
70 | 75 |
71 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 76 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
72 | 77 |
73 } // namespace proxy | 78 } // namespace proxy |
74 } // namespace pp | 79 } // namespace pp |
OLD | NEW |