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 #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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 PPBFlash_DrawGlyphs_Params(); | 74 PPBFlash_DrawGlyphs_Params(); |
75 ~PPBFlash_DrawGlyphs_Params(); | 75 ~PPBFlash_DrawGlyphs_Params(); |
76 | 76 |
77 PP_Instance instance; | 77 PP_Instance instance; |
78 ppapi::HostResource image_data; | 78 ppapi::HostResource image_data; |
79 SerializedFontDescription font_desc; | 79 SerializedFontDescription font_desc; |
80 uint32_t color; | 80 uint32_t color; |
81 PP_Point position; | 81 PP_Point position; |
82 PP_Rect clip; | 82 PP_Rect clip; |
83 float transformation[3][3]; | 83 float transformation[3][3]; |
| 84 PP_Bool allow_subpixel_aa; |
84 std::vector<uint16_t> glyph_indices; | 85 std::vector<uint16_t> glyph_indices; |
85 std::vector<PP_Point> glyph_advances; | 86 std::vector<PP_Point> glyph_advances; |
86 }; | 87 }; |
87 | 88 |
88 struct PPBAudio_NotifyAudioStreamCreated_Params { | 89 struct PPBAudio_NotifyAudioStreamCreated_Params { |
89 ppapi::HostResource audio_id; | 90 ppapi::HostResource audio_id; |
90 int32_t result_code; // Will be != PP_OK on failure | 91 int32_t result_code; // Will be != PP_OK on failure |
91 IPC::PlatformFileForTransit socket_handle; | 92 IPC::PlatformFileForTransit socket_handle; |
92 base::SharedMemoryHandle handle; | 93 base::SharedMemoryHandle handle; |
93 int32_t length; | 94 int32_t length; |
(...skipping 20 matching lines...) Expand all Loading... |
114 typedef base::SharedMemoryHandle ImageHandle; | 115 typedef base::SharedMemoryHandle ImageHandle; |
115 #else | 116 #else |
116 // On X Windows this is a SysV shared memory key. | 117 // On X Windows this is a SysV shared memory key. |
117 typedef int ImageHandle; | 118 typedef int ImageHandle; |
118 #endif | 119 #endif |
119 | 120 |
120 } // namespace proxy | 121 } // namespace proxy |
121 } // namespace ppapi | 122 } // namespace ppapi |
122 | 123 |
123 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ | 124 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ |
OLD | NEW |