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 WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/native_library.h" | 17 #include "base/native_library.h" |
18 #include "base/process.h" | 18 #include "base/process.h" |
19 #include "ppapi/c/pp_bool.h" | 19 #include "ppapi/c/pp_bool.h" |
20 #include "ppapi/c/pp_instance.h" | 20 #include "ppapi/c/pp_instance.h" |
21 #include "ppapi/c/pp_module.h" | 21 #include "ppapi/c/pp_module.h" |
22 #include "ppapi/c/ppb.h" | 22 #include "ppapi/c/ppb.h" |
23 #include "webkit/plugins/ppapi/plugin_delegate.h" | 23 #include "webkit/plugins/ppapi/plugin_delegate.h" |
24 | 24 |
25 class FilePath; | 25 class FilePath; |
26 class MessageLoop; | |
27 struct PPB_Core; | 26 struct PPB_Core; |
28 struct PPB_Memory_Dev; | |
29 typedef void* NPIdentifier; | 27 typedef void* NPIdentifier; |
30 | 28 |
31 namespace base { | |
32 class WaitableEvent; | |
33 } | |
34 | |
35 namespace ppapi { | 29 namespace ppapi { |
36 class WebKitForwarding; | 30 class WebKitForwarding; |
37 } // namespace ppapi | 31 } // namespace ppapi |
38 | 32 |
39 namespace pp { | |
40 namespace proxy { | |
41 class HostDispatcher; | |
42 } // namespace proxy | |
43 } // namespace pp | |
44 | |
45 namespace IPC { | |
46 struct ChannelHandle; | |
47 } | |
48 | |
49 namespace webkit { | 33 namespace webkit { |
50 namespace ppapi { | 34 namespace ppapi { |
51 | 35 |
52 class CallbackTracker; | 36 class CallbackTracker; |
53 class PluginDelegate; | 37 class PluginDelegate; |
54 class PluginInstance; | 38 class PluginInstance; |
55 | 39 |
56 // Represents one plugin library loaded into one renderer. This library may | 40 // Represents one plugin library loaded into one renderer. This library may |
57 // have multiple instances. | 41 // have multiple instances. |
58 // | 42 // |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 // Lazily created by GetWebKitForwarding. | 197 // Lazily created by GetWebKitForwarding. |
214 scoped_ptr< ::ppapi::WebKitForwarding> webkit_forwarding_; | 198 scoped_ptr< ::ppapi::WebKitForwarding> webkit_forwarding_; |
215 | 199 |
216 DISALLOW_COPY_AND_ASSIGN(PluginModule); | 200 DISALLOW_COPY_AND_ASSIGN(PluginModule); |
217 }; | 201 }; |
218 | 202 |
219 } // namespace ppapi | 203 } // namespace ppapi |
220 } // namespace webkit | 204 } // namespace webkit |
221 | 205 |
222 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ | 206 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_MODULE_H_ |
OLD | NEW |