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

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

Issue 8333004: Rename InterfaceID to ApiID and move the file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 9 years, 2 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_2d_proxy.cc ('k') | ppapi/proxy/ppb_graphics_3d_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) 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_PPB_GRAPHICS_3D_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_
6 #define PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ 6 #define PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/shared_memory.h" 10 #include "base/shared_memory.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 PPB_Graphics3D_Proxy(Dispatcher* dispatcher); 66 PPB_Graphics3D_Proxy(Dispatcher* dispatcher);
67 virtual ~PPB_Graphics3D_Proxy(); 67 virtual ~PPB_Graphics3D_Proxy();
68 68
69 static PP_Resource CreateProxyResource(PP_Instance instance, 69 static PP_Resource CreateProxyResource(PP_Instance instance,
70 PP_Resource share_context, 70 PP_Resource share_context,
71 const int32_t* attrib_list); 71 const int32_t* attrib_list);
72 72
73 // InterfaceProxy implementation. 73 // InterfaceProxy implementation.
74 virtual bool OnMessageReceived(const IPC::Message& msg); 74 virtual bool OnMessageReceived(const IPC::Message& msg);
75 75
76 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_GRAPHICS_3D; 76 static const ApiID kApiID = API_ID_PPB_GRAPHICS_3D;
77 77
78 private: 78 private:
79 void OnMsgCreate(PP_Instance instance, 79 void OnMsgCreate(PP_Instance instance,
80 const std::vector<int32_t>& attribs, 80 const std::vector<int32_t>& attribs,
81 HostResource* result); 81 HostResource* result);
82 void OnMsgInitCommandBuffer(const HostResource& context, 82 void OnMsgInitCommandBuffer(const HostResource& context,
83 int32 size, 83 int32 size,
84 base::SharedMemoryHandle* ring_buffer); 84 base::SharedMemoryHandle* ring_buffer);
85 void OnMsgGetState(const HostResource& context, 85 void OnMsgGetState(const HostResource& context,
86 gpu::CommandBuffer::State* state); 86 gpu::CommandBuffer::State* state);
(...skipping 24 matching lines...) Expand all
111 ProxyNonThreadSafeRefCount> callback_factory_; 111 ProxyNonThreadSafeRefCount> callback_factory_;
112 112
113 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Proxy); 113 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Proxy);
114 }; 114 };
115 115
116 } // namespace proxy 116 } // namespace proxy
117 } // namespace ppapi 117 } // namespace ppapi
118 118
119 #endif // PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_ 119 #endif // PPAPI_PROXY_PPB_GRAPHICS_3D_PROXY_H_
120 120
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_2d_proxy.cc ('k') | ppapi/proxy/ppb_graphics_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698