Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Side by Side Diff: ppapi/proxy/serialized_structs.h

Issue 11510008: Refactor 4 PPB_Flash functions to the new PPAPI resource model. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/thunk/ppb_flash_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 PPBFlash_DrawGlyphs_Params { 65 struct PPAPI_PROXY_EXPORT 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
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_flash_proxy.cc ('k') | ppapi/thunk/ppb_flash_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698