| OLD | NEW |
| 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 21 matching lines...) Expand all Loading... |
| 32 class SerializedVarReceiveInput; | 32 class SerializedVarReceiveInput; |
| 33 class SerializedVarOutParam; | 33 class SerializedVarOutParam; |
| 34 class SerializedVarReturnValue; | 34 class SerializedVarReturnValue; |
| 35 | 35 |
| 36 class PPB_Instance_Proxy : public InterfaceProxy, | 36 class PPB_Instance_Proxy : public InterfaceProxy, |
| 37 public PPB_Instance_Shared { | 37 public PPB_Instance_Shared { |
| 38 public: | 38 public: |
| 39 PPB_Instance_Proxy(Dispatcher* dispatcher); | 39 PPB_Instance_Proxy(Dispatcher* dispatcher); |
| 40 virtual ~PPB_Instance_Proxy(); | 40 virtual ~PPB_Instance_Proxy(); |
| 41 | 41 |
| 42 static const Info* GetInfoPrivate(); | |
| 43 | |
| 44 // InterfaceProxy implementation. | 42 // InterfaceProxy implementation. |
| 45 virtual bool OnMessageReceived(const IPC::Message& msg); | 43 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 46 | 44 |
| 47 // PPB_Instance_API implementation. | 45 // PPB_Instance_API implementation. |
| 48 virtual PP_Bool BindGraphics(PP_Instance instance, | 46 virtual PP_Bool BindGraphics(PP_Instance instance, |
| 49 PP_Resource device) OVERRIDE; | 47 PP_Resource device) OVERRIDE; |
| 50 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; | 48 virtual PP_Bool IsFullFrame(PP_Instance instance) OVERRIDE; |
| 51 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE; | 49 virtual const ViewData* GetViewData(PP_Instance instance) OVERRIDE; |
| 52 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; | 50 virtual PP_Bool FlashIsFullscreen(PP_Instance instance) OVERRIDE; |
| 53 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; | 51 virtual PP_Var GetWindowObject(PP_Instance instance) OVERRIDE; |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 // Other helpers. | 267 // Other helpers. |
| 270 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); | 268 void CancelAnyPendingRequestSurroundingText(PP_Instance instance); |
| 271 | 269 |
| 272 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; | 270 ProxyCompletionCallbackFactory<PPB_Instance_Proxy> callback_factory_; |
| 273 }; | 271 }; |
| 274 | 272 |
| 275 } // namespace proxy | 273 } // namespace proxy |
| 276 } // namespace ppapi | 274 } // namespace ppapi |
| 277 | 275 |
| 278 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 276 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |