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/pp_rect.h" | 8 #include "ppapi/c/pp_rect.h" |
9 | 9 |
10 namespace pp { | 10 namespace pp { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 desc->size = size; | 57 desc->size = size; |
58 desc->weight = static_cast<PP_FontWeight_Dev>(weight); | 58 desc->weight = static_cast<PP_FontWeight_Dev>(weight); |
59 desc->italic = italic; | 59 desc->italic = italic; |
60 desc->small_caps = small_caps; | 60 desc->small_caps = small_caps; |
61 desc->letter_spacing = letter_spacing; | 61 desc->letter_spacing = letter_spacing; |
62 desc->word_spacing = word_spacing; | 62 desc->word_spacing = word_spacing; |
63 } | 63 } |
64 | 64 |
65 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() | 65 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() |
66 : instance(0), | 66 : instance(0), |
67 pp_image_data(0), | |
68 font_desc(), | 67 font_desc(), |
69 color(0) { | 68 color(0) { |
70 } | 69 } |
71 | 70 |
72 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 71 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
73 | 72 |
74 } // namespace proxy | 73 } // namespace proxy |
75 } // namespace pp | 74 } // namespace pp |
OLD | NEW |