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