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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_file_system_proxy.h ('k') | ppapi/proxy/ppb_font_proxy.h » ('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_PPB_FLASH_PROXY_H_ 5 #ifndef PPAPI_PROXY_PPB_FLASH_PROXY_H_
6 #define PPAPI_PPB_FLASH_PROXY_H_ 6 #define PPAPI_PROXY_PPB_FLASH_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ipc/ipc_platform_file.h" 11 #include "ipc/ipc_platform_file.h"
12 #include "ppapi/c/pp_instance.h" 12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_module.h" 13 #include "ppapi/c/pp_module.h"
14 #include "ppapi/c/pp_time.h" 14 #include "ppapi/c/pp_time.h"
15 #include "ppapi/proxy/interface_proxy.h" 15 #include "ppapi/proxy/interface_proxy.h"
16 #include "ppapi/shared_impl/host_resource.h" 16 #include "ppapi/shared_impl/host_resource.h"
17 17
18 struct PP_FileInfo;
19 struct PPB_Flash; 18 struct PPB_Flash;
20 19
21 namespace ppapi { 20 namespace ppapi {
22 21
23 struct PPB_URLRequestInfo_Data; 22 struct PPB_URLRequestInfo_Data;
24 23
25 namespace proxy { 24 namespace proxy {
26 25
27 struct PPBFlash_DrawGlyphs_Params; 26 struct PPBFlash_DrawGlyphs_Params;
28 class SerializedVarReturnValue; 27 class SerializedVarReturnValue;
29 28
30 class PPB_Flash_Proxy : public InterfaceProxy { 29 class PPB_Flash_Proxy : public InterfaceProxy {
31 public: 30 public:
32 PPB_Flash_Proxy(Dispatcher* dispatcher); 31 explicit PPB_Flash_Proxy(Dispatcher* dispatcher);
33 virtual ~PPB_Flash_Proxy(); 32 virtual ~PPB_Flash_Proxy();
34 33
35 static const PPB_Flash* GetInterface(); 34 static const PPB_Flash* GetInterface();
36 35
37 // InterfaceProxy implementation. 36 // InterfaceProxy implementation.
38 virtual bool OnMessageReceived(const IPC::Message& msg); 37 virtual bool OnMessageReceived(const IPC::Message& msg);
39 38
40 private: 39 private:
41 // Message handlers. 40 // Message handlers.
42 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance, 41 void OnMsgSetInstanceAlwaysOnTop(PP_Instance instance,
(...skipping 17 matching lines...) Expand all
60 // pointer so we don't have to retrieve it from the dispatcher each time. 59 // pointer so we don't have to retrieve it from the dispatcher each time.
61 // In the plugin, this value is always NULL. 60 // In the plugin, this value is always NULL.
62 const PPB_Flash* ppb_flash_impl_; 61 const PPB_Flash* ppb_flash_impl_;
63 62
64 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy); 63 DISALLOW_COPY_AND_ASSIGN(PPB_Flash_Proxy);
65 }; 64 };
66 65
67 } // namespace proxy 66 } // namespace proxy
68 } // namespace ppapi 67 } // namespace ppapi
69 68
70 #endif // PPAPI_PPB_FLASH_PROXY_H_ 69 #endif // PPAPI_PROXY_PPB_FLASH_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_file_system_proxy.h ('k') | ppapi/proxy/ppb_font_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698