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

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

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add gyp files Created 8 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/ppb_graphics_3d_proxy.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('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_PPB_IMAGE_DATA_PROXY_H_ 5 #ifndef PPAPI_PPB_IMAGE_DATA_PROXY_H_
6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_ 6 #define PPAPI_PPB_IMAGE_DATA_PROXY_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 PP_Bool init_to_zero, 117 PP_Bool init_to_zero,
118 HostResource* result, 118 HostResource* result,
119 std::string* image_data_desc, 119 std::string* image_data_desc,
120 ImageHandle* result_image_handle); 120 ImageHandle* result_image_handle);
121 void OnHostMsgCreateNaCl(PP_Instance instance, 121 void OnHostMsgCreateNaCl(PP_Instance instance,
122 int32_t format, 122 int32_t format,
123 const PP_Size& size, 123 const PP_Size& size,
124 PP_Bool init_to_zero, 124 PP_Bool init_to_zero,
125 HostResource* result, 125 HostResource* result,
126 std::string* image_data_desc, 126 std::string* image_data_desc,
127 base::SharedMemoryHandle* result_image_handle); 127 ppapi::proxy::SerializedHandle* result_image_handle);
128 128
129 // Host->Plugin message handlers. 129 // Host->Plugin message handlers.
130 void OnPluginMsgNotifyUnusedImageData(const HostResource& old_image_data); 130 void OnPluginMsgNotifyUnusedImageData(const HostResource& old_image_data);
131 131
132 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy); 132 DISALLOW_COPY_AND_ASSIGN(PPB_ImageData_Proxy);
133 }; 133 };
134 134
135 } // namespace proxy 135 } // namespace proxy
136 } // namespace ppapi 136 } // namespace ppapi
137 137
138 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_ 138 #endif // PPAPI_PPB_IMAGE_DATA_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_3d_proxy.cc ('k') | ppapi/proxy/ppb_image_data_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698