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" |
11 #include "ppapi/cpp/completion_callback.h" | |
12 #include "ppapi/proxy/interface_proxy.h" | 11 #include "ppapi/proxy/interface_proxy.h" |
13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" | 12 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" |
14 #include "ppapi/shared_impl/function_group_base.h" | 13 #include "ppapi/shared_impl/function_group_base.h" |
15 #include "ppapi/shared_impl/host_resource.h" | 14 #include "ppapi/shared_impl/host_resource.h" |
16 #include "ppapi/shared_impl/ppb_instance_shared.h" | 15 #include "ppapi/shared_impl/ppb_instance_shared.h" |
17 #include "ppapi/thunk/ppb_instance_api.h" | 16 #include "ppapi/thunk/ppb_instance_api.h" |
| 17 #include "ppapi/utility/completion_callback_factory.h" |
18 | 18 |
19 // Windows headers interfere with this file. | 19 // Windows headers interfere with this file. |
20 #ifdef PostMessage | 20 #ifdef PostMessage |
21 #undef PostMessage | 21 #undef PostMessage |
22 #endif | 22 #endif |
23 | 23 |
24 namespace ppapi { | 24 namespace ppapi { |
25 namespace proxy { | 25 namespace proxy { |
26 | 26 |
27 class SerializedVarReceiveInput; | 27 class SerializedVarReceiveInput; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); | 168 void MouseLockCompleteInHost(int32_t result, PP_Instance instance); |
169 | 169 |
170 pp::CompletionCallbackFactory<PPB_Instance_Proxy, | 170 pp::CompletionCallbackFactory<PPB_Instance_Proxy, |
171 ProxyNonThreadSafeRefCount> callback_factory_; | 171 ProxyNonThreadSafeRefCount> callback_factory_; |
172 }; | 172 }; |
173 | 173 |
174 } // namespace proxy | 174 } // namespace proxy |
175 } // namespace ppapi | 175 } // namespace ppapi |
176 | 176 |
177 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ | 177 #endif // PPAPI_PROXY_PPB_INSTANCE_PROXY_H_ |
OLD | NEW |