| 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 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 5 #ifndef PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 6 #define PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 PP_Bool small_caps; | 55 PP_Bool small_caps; |
| 56 int32_t letter_spacing; | 56 int32_t letter_spacing; |
| 57 int32_t word_spacing; | 57 int32_t word_spacing; |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 struct SerializedDirEntry { | 60 struct SerializedDirEntry { |
| 61 std::string name; | 61 std::string name; |
| 62 bool is_dir; | 62 bool is_dir; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 struct PPAPI_PROXY_EXPORT PPBFlash_DrawGlyphs_Params { | 65 struct PPBFlash_DrawGlyphs_Params { |
| 66 PPBFlash_DrawGlyphs_Params(); | 66 PPBFlash_DrawGlyphs_Params(); |
| 67 ~PPBFlash_DrawGlyphs_Params(); | 67 ~PPBFlash_DrawGlyphs_Params(); |
| 68 | 68 |
| 69 PP_Instance instance; | 69 PP_Instance instance; |
| 70 ppapi::HostResource image_data; | 70 ppapi::HostResource image_data; |
| 71 SerializedFontDescription font_desc; | 71 SerializedFontDescription font_desc; |
| 72 uint32_t color; | 72 uint32_t color; |
| 73 PP_Point position; | 73 PP_Point position; |
| 74 PP_Rect clip; | 74 PP_Rect clip; |
| 75 float transformation[3][3]; | 75 float transformation[3][3]; |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 typedef base::SharedMemoryHandle ImageHandle; | 212 typedef base::SharedMemoryHandle ImageHandle; |
| 213 #else | 213 #else |
| 214 // On X Windows this is a SysV shared memory key. | 214 // On X Windows this is a SysV shared memory key. |
| 215 typedef int ImageHandle; | 215 typedef int ImageHandle; |
| 216 #endif | 216 #endif |
| 217 | 217 |
| 218 } // namespace proxy | 218 } // namespace proxy |
| 219 } // namespace ppapi | 219 } // namespace ppapi |
| 220 | 220 |
| 221 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 221 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
| OLD | NEW |