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

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

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months 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/serialized_flash_menu.h ('k') | ppapi/proxy/serialized_var.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) 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
11 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "ipc/ipc_platform_file.h" 13 #include "ipc/ipc_platform_file.h"
14 #include "ppapi/c/pp_bool.h" 14 #include "ppapi/c/pp_bool.h"
15 #include "ppapi/c/pp_instance.h" 15 #include "ppapi/c/pp_instance.h"
16 #include "ppapi/c/pp_point.h" 16 #include "ppapi/c/pp_point.h"
17 #include "ppapi/c/pp_rect.h" 17 #include "ppapi/c/pp_rect.h"
18 #include "ppapi/proxy/serialized_var.h" 18 #include "ppapi/proxy/serialized_var.h"
19 #include "ppapi/shared_impl/host_resource.h" 19 #include "ppapi/shared_impl/host_resource.h"
20 20
21 struct PP_FontDescription_Dev; 21 struct PP_FontDescription_Dev;
22 22
23 namespace ppapi { 23 namespace ppapi {
24 namespace proxy { 24 namespace proxy {
25 25
26 class Dispatcher; 26 class Dispatcher;
27 27
28 // PP_FontDescript_Dev has to be redefined with a SerializedVar in place of 28 // PP_FontDescript_Dev has to be redefined with a SerializedVar in place of
29 // the PP_Var used for the face name. 29 // the PP_Var used for the face name.
30 struct SerializedFontDescription { 30 struct PPAPI_PROXY_EXPORT SerializedFontDescription {
31 SerializedFontDescription(); 31 SerializedFontDescription();
32 ~SerializedFontDescription(); 32 ~SerializedFontDescription();
33 33
34 // Converts a PP_FontDescription_Dev to a SerializedFontDescription. 34 // Converts a PP_FontDescription_Dev to a SerializedFontDescription.
35 // 35 //
36 // If source_owns_ref is true, the reference owned by the 36 // If source_owns_ref is true, the reference owned by the
37 // PP_FontDescription_Dev will be unchanged and the caller is responsible for 37 // PP_FontDescription_Dev will be unchanged and the caller is responsible for
38 // freeing it. When false, the SerializedFontDescription will take ownership 38 // freeing it. When false, the SerializedFontDescription will take ownership
39 // of the ref. This is the difference between serializing as an input value 39 // of the ref. This is the difference between serializing as an input value
40 // (owns_ref = true) and an output value (owns_ref = true). 40 // (owns_ref = true) and an output value (owns_ref = true).
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 typedef base::SharedMemoryHandle ImageHandle; 114 typedef base::SharedMemoryHandle ImageHandle;
115 #else 115 #else
116 // On X Windows this is a SysV shared memory key. 116 // On X Windows this is a SysV shared memory key.
117 typedef int ImageHandle; 117 typedef int ImageHandle;
118 #endif 118 #endif
119 119
120 } // namespace proxy 120 } // namespace proxy
121 } // namespace ppapi 121 } // namespace ppapi
122 122
123 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_ 123 #endif // PPAPI_PROXY_SERIALIZED_STRUCTS_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/serialized_flash_menu.h ('k') | ppapi/proxy/serialized_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698