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

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

Issue 7108051: Implement out-of-process proxy for PPB_Buffer_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BUFFER_PROXY_H_ 5 #ifndef PPAPI_PPB_BUFFER_PROXY_H_
6 #define PPAPI_PPB_BUFFER_PROXY_H_ 6 #define PPAPI_PPB_BUFFER_PROXY_H_
7 7
8 #include "base/shared_memory.h"
8 #include "ppapi/c/pp_instance.h" 9 #include "ppapi/c/pp_instance.h"
9 #include "ppapi/proxy/interface_proxy.h" 10 #include "ppapi/proxy/interface_proxy.h"
10 11
11 struct PPB_Buffer_Dev; 12 struct PPB_Buffer_Dev;
12 13
13 namespace pp { 14 namespace pp {
14 namespace proxy { 15 namespace proxy {
15 16
16 class HostResource; 17 class HostResource;
17 18
(...skipping 12 matching lines...) Expand all
30 } 31 }
31 32
32 // InterfaceProxy implementation. 33 // InterfaceProxy implementation.
33 virtual bool OnMessageReceived(const IPC::Message& msg); 34 virtual bool OnMessageReceived(const IPC::Message& msg);
34 35
35 private: 36 private:
36 // Message handlers. 37 // Message handlers.
37 void OnMsgCreate(PP_Instance instance, 38 void OnMsgCreate(PP_Instance instance,
38 uint32_t size, 39 uint32_t size,
39 HostResource* result_resource, 40 HostResource* result_resource,
40 int* result_shm_handle); 41 base::SharedMemoryHandle* result_shm_handle);
41 }; 42 };
42 43
43 } // namespace proxy 44 } // namespace proxy
44 } // namespace pp 45 } // namespace pp
45 46
46 #endif // PPAPI_PPB_BUFFER_PROXY_H_ 47 #endif // PPAPI_PPB_BUFFER_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698