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 11 matching lines...) Expand all Loading... |
22 class SerializedVarReturnValue; | 22 class SerializedVarReturnValue; |
23 | 23 |
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(); | |
33 static const Info* GetInfo0_5(); | 32 static const Info* GetInfo0_5(); |
34 static const Info* GetInfo1_0(); | 33 static const Info* GetInfo1_0(); |
35 static const Info* GetInfoMessaging(); | 34 static const Info* GetInfoMessaging(); |
36 static const Info* GetInfoPrivate(); | 35 static const Info* GetInfoPrivate(); |
37 static const Info* GetInfoFullscreen(); | 36 static const Info* GetInfoFullscreen(); |
38 | 37 |
39 // InterfaceProxy implementation. | 38 // InterfaceProxy implementation. |
40 virtual bool OnMessageReceived(const IPC::Message& msg); | 39 virtual bool OnMessageReceived(const IPC::Message& msg); |
41 | 40 |
42 // FunctionGroupBase overrides. | 41 // FunctionGroupBase overrides. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 void OnMsgClearInputEvents(PP_Instance instance, | 92 void OnMsgClearInputEvents(PP_Instance instance, |
94 uint32_t event_classes); | 93 uint32_t event_classes); |
95 void OnMsgPostMessage(PP_Instance instance, | 94 void OnMsgPostMessage(PP_Instance instance, |
96 SerializedVarReceiveInput message); | 95 SerializedVarReceiveInput message); |
97 }; | 96 }; |
98 | 97 |
99 } // namespace proxy | 98 } // namespace proxy |
100 } // namespace pp | 99 } // namespace pp |
101 | 100 |
102 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 101 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |