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

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

Issue 11053003: Migrate Graphics2D to new design. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 8 years 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
« no previous file with comments | « ppapi/proxy/ppb_graphics_2d_proxy.cc ('k') | ppapi/proxy/ppb_instance_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_PROXY_PPB_INSTANCE_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 6 #define PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_instance.h" 10 #include "ppapi/c/pp_instance.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 static const ApiID kApiID = API_ID_PPB_INSTANCE; 160 static const ApiID kApiID = API_ID_PPB_INSTANCE;
161 161
162 private: 162 private:
163 // Plugin -> Host message handlers. 163 // Plugin -> Host message handlers.
164 void OnHostMsgGetWindowObject(PP_Instance instance, 164 void OnHostMsgGetWindowObject(PP_Instance instance,
165 SerializedVarReturnValue result); 165 SerializedVarReturnValue result);
166 void OnHostMsgGetOwnerElementObject(PP_Instance instance, 166 void OnHostMsgGetOwnerElementObject(PP_Instance instance,
167 SerializedVarReturnValue result); 167 SerializedVarReturnValue result);
168 void OnHostMsgBindGraphics(PP_Instance instance, 168 void OnHostMsgBindGraphics(PP_Instance instance,
169 const ppapi::HostResource& device, 169 PP_Resource device,
170 PP_Bool* result); 170 PP_Bool* result);
171 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result); 171 void OnHostMsgIsFullFrame(PP_Instance instance, PP_Bool* result);
172 void OnHostMsgExecuteScript(PP_Instance instance, 172 void OnHostMsgExecuteScript(PP_Instance instance,
173 SerializedVarReceiveInput script, 173 SerializedVarReceiveInput script,
174 SerializedVarOutParam out_exception, 174 SerializedVarOutParam out_exception,
175 SerializedVarReturnValue result); 175 SerializedVarReturnValue result);
176 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance, 176 void OnHostMsgGetAudioHardwareOutputSampleRate(PP_Instance instance,
177 uint32_t *result); 177 uint32_t *result);
178 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance, 178 void OnHostMsgGetAudioHardwareOutputBufferSize(PP_Instance instance,
179 uint32_t *result); 179 uint32_t *result);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // Other helpers. 275 // Other helpers.
276 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); 276 void CancelAnyPendingRequestSurroundingText(PP_Instance instance);
277 277
278 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; 278 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_;
279 }; 279 };
280 280
281 } // namespace proxy 281 } // namespace proxy
282 } // namespace ppapi 282 } // namespace ppapi
283 283
284 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ 284 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_graphics_2d_proxy.cc ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698