| OLD | NEW |
| 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_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 "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/c/pp_resource.h" | 9 #include "ppapi/c/pp_resource.h" |
| 10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 class PPB_Instance_Proxy : public InterfaceProxy, | 24 class PPB_Instance_Proxy : public InterfaceProxy, |
| 25 public ppapi::InstanceImpl, | 25 public ppapi::InstanceImpl, |
| 26 public ppapi::FunctionGroupBase, | 26 public ppapi::FunctionGroupBase, |
| 27 public ppapi::thunk::PPB_Instance_FunctionAPI { | 27 public ppapi::thunk::PPB_Instance_FunctionAPI { |
| 28 public: | 28 public: |
| 29 PPB_Instance_Proxy(Dispatcher* dispatcher, const void* target_interface); | 29 PPB_Instance_Proxy(Dispatcher* dispatcher, const void* target_interface); |
| 30 virtual ~PPB_Instance_Proxy(); | 30 virtual ~PPB_Instance_Proxy(); |
| 31 | 31 |
| 32 static const Info* GetInfo0_4(); | 32 static const Info* GetInfo0_4(); |
| 33 static const Info* GetInfo0_5(); | 33 static const Info* GetInfo0_5(); |
| 34 static const Info* GetInfoMessaging(); | |
| 35 static const Info* GetInfoPrivate(); | 34 static const Info* GetInfoPrivate(); |
| 36 static const Info* GetInfoFullscreen(); | 35 static const Info* GetInfoFullscreen(); |
| 37 | 36 |
| 38 // InterfaceProxy implementation. | 37 // InterfaceProxy implementation. |
| 39 virtual bool OnMessageReceived(const IPC::Message& msg); | 38 virtual bool OnMessageReceived(const IPC::Message& msg); |
| 40 | 39 |
| 41 // FunctionGroupBase overrides. | 40 // FunctionGroupBase overrides. |
| 42 ppapi::thunk::PPB_Instance_FunctionAPI* AsPPB_Instance_FunctionAPI() OVERRIDE; | 41 ppapi::thunk::PPB_Instance_FunctionAPI* AsPPB_Instance_FunctionAPI() OVERRIDE; |
| 43 | 42 |
| 44 // PPB_Instance_FunctionAPI implementation. | 43 // PPB_Instance_FunctionAPI implementation. |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void OnMsgClearInputEvents(PP_Instance instance, | 91 void OnMsgClearInputEvents(PP_Instance instance, |
| 93 uint32_t event_classes); | 92 uint32_t event_classes); |
| 94 void OnMsgPostMessage(PP_Instance instance, | 93 void OnMsgPostMessage(PP_Instance instance, |
| 95 SerializedVarReceiveInput message); | 94 SerializedVarReceiveInput message); |
| 96 }; | 95 }; |
| 97 | 96 |
| 98 } // namespace proxy | 97 } // namespace proxy |
| 99 } // namespace pp | 98 } // namespace pp |
| 100 | 99 |
| 101 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 100 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
| OLD | NEW |