Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1308)

Side by Side Diff: ppapi/proxy/ppb_instance_proxy.h

Issue 8849003: Rename the shared_impl resource files to give them more regular names. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 11 #include "ppapi/cpp/completion_callback.h"
12 #include "ppapi/proxy/interface_proxy.h" 12 #include "ppapi/proxy/interface_proxy.h"
13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h" 13 #include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
14 #include "ppapi/shared_impl/function_group_base.h" 14 #include "ppapi/shared_impl/function_group_base.h"
15 #include "ppapi/shared_impl/host_resource.h" 15 #include "ppapi/shared_impl/host_resource.h"
16 #include "ppapi/shared_impl/instance_impl.h" 16 #include "ppapi/shared_impl/ppb_instance_shared.h"
17 #include "ppapi/thunk/ppb_instance_api.h" 17 #include "ppapi/thunk/ppb_instance_api.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;
28 class SerializedVarOutParam; 28 class SerializedVarOutParam;
29 class SerializedVarReturnValue; 29 class SerializedVarReturnValue;
30 30
31 class PPB_Instance_Proxy : public InterfaceProxy, 31 class PPB_Instance_Proxy : public InterfaceProxy,
32 public ppapi::InstanceImpl, 32 public PPB_Instance_Shared,
33 public ppapi::thunk::PPB_Instance_FunctionAPI { 33 public thunk::PPB_Instance_FunctionAPI {
34 public: 34 public:
35 PPB_Instance_Proxy(Dispatcher* dispatcher); 35 PPB_Instance_Proxy(Dispatcher* dispatcher);
36 virtual ~PPB_Instance_Proxy(); 36 virtual ~PPB_Instance_Proxy();
37 37
38 static const Info* GetInfoPrivate(); 38 static const Info* GetInfoPrivate();
39 39
40 // InterfaceProxy implementation. 40 // InterfaceProxy implementation.
41 virtual bool OnMessageReceived(const IPC::Message& msg); 41 virtual bool OnMessageReceived(const IPC::Message& msg);
42 42
43 // FunctionGroupBase overrides. 43 // FunctionGroupBase overrides.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.h ('k') | ppapi/proxy/ppb_instance_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698