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

Side by Side Diff: ppapi/proxy/ppb_context_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_buffer_proxy.cc ('k') | ppapi/proxy/ppb_context_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_CONTEXT_3D_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ 6 #define PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual ~PPB_Context3D_Proxy(); 98 virtual ~PPB_Context3D_Proxy();
99 99
100 static PP_Resource Create(PP_Instance instance, 100 static PP_Resource Create(PP_Instance instance,
101 PP_Config3D_Dev config, 101 PP_Config3D_Dev config,
102 PP_Resource share_context, 102 PP_Resource share_context,
103 const int32_t* attrib_list); 103 const int32_t* attrib_list);
104 104
105 // InterfaceProxy implementation. 105 // InterfaceProxy implementation.
106 virtual bool OnMessageReceived(const IPC::Message& msg); 106 virtual bool OnMessageReceived(const IPC::Message& msg);
107 107
108 static const InterfaceID kInterfaceID = INTERFACE_ID_PPB_CONTEXT_3D; 108 static const ApiID kApiID = API_ID_PPB_CONTEXT_3D;
109 109
110 private: 110 private:
111 void OnMsgCreate(PP_Instance instance, 111 void OnMsgCreate(PP_Instance instance,
112 PP_Config3D_Dev config, 112 PP_Config3D_Dev config,
113 const std::vector<int32_t>& attribs, 113 const std::vector<int32_t>& attribs,
114 HostResource* result); 114 HostResource* result);
115 void OnMsgBindSurfaces(const HostResource& context, 115 void OnMsgBindSurfaces(const HostResource& context,
116 const HostResource& draw, 116 const HostResource& draw,
117 const HostResource& read, 117 const HostResource& read,
118 int32_t* result); 118 int32_t* result);
(...skipping 16 matching lines...) Expand all
135 void OnMsgGetTransferBuffer(const HostResource& context, 135 void OnMsgGetTransferBuffer(const HostResource& context,
136 int32 id, 136 int32 id,
137 base::SharedMemoryHandle* transfer_buffer, 137 base::SharedMemoryHandle* transfer_buffer,
138 uint32* size); 138 uint32* size);
139 }; 139 };
140 140
141 } // namespace proxy 141 } // namespace proxy
142 } // namespace ppapi 142 } // namespace ppapi
143 143
144 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_ 144 #endif // PPAPI_PROXY_PPB_CONTEXT_3D_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_buffer_proxy.cc ('k') | ppapi/proxy/ppb_context_3d_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698