| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_file_info.h" | 8 #include "ppapi/c/pp_file_info.h" |
| 9 #include "ppapi/c/pp_rect.h" | 9 #include "ppapi/c/pp_rect.h" |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 desc->family = static_cast<PP_FontFamily_Dev>(family); | 57 desc->family = static_cast<PP_FontFamily_Dev>(family); |
| 58 desc->size = size; | 58 desc->size = size; |
| 59 desc->weight = static_cast<PP_FontWeight_Dev>(weight); | 59 desc->weight = static_cast<PP_FontWeight_Dev>(weight); |
| 60 desc->italic = italic; | 60 desc->italic = italic; |
| 61 desc->small_caps = small_caps; | 61 desc->small_caps = small_caps; |
| 62 desc->letter_spacing = letter_spacing; | 62 desc->letter_spacing = letter_spacing; |
| 63 desc->word_spacing = word_spacing; | 63 desc->word_spacing = word_spacing; |
| 64 } | 64 } |
| 65 | 65 |
| 66 PPBFileRef_CreateInfo::PPBFileRef_CreateInfo() | |
| 67 : file_system_type(PP_FILESYSTEMTYPE_EXTERNAL) { | |
| 68 } | |
| 69 | |
| 70 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() | 66 PPBFlash_DrawGlyphs_Params::PPBFlash_DrawGlyphs_Params() |
| 71 : instance(0), | 67 : instance(0), |
| 72 font_desc(), | 68 font_desc(), |
| 73 color(0) { | 69 color(0) { |
| 74 clip.point.x = 0; | 70 clip.point.x = 0; |
| 75 clip.point.y = 0; | 71 clip.point.y = 0; |
| 76 clip.size.height = 0; | 72 clip.size.height = 0; |
| 77 clip.size.width = 0; | 73 clip.size.width = 0; |
| 78 position.x = 0; | 74 position.x = 0; |
| 79 position.y = 0; | 75 position.y = 0; |
| 80 } | 76 } |
| 81 | 77 |
| 82 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} | 78 PPBFlash_DrawGlyphs_Params::~PPBFlash_DrawGlyphs_Params() {} |
| 83 | 79 |
| 84 } // namespace proxy | 80 } // namespace proxy |
| 85 } // namespace ppapi | 81 } // namespace ppapi |
| OLD | NEW |