OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 6 #define CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #if defined(OS_MACOSX) | |
13 #include "base/mac/scoped_cftyperef.h" | |
14 #endif | |
15 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
16 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
17 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
18 #include "content/child/npapi/webplugin.h" | 15 #include "content/child/npapi/webplugin.h" |
19 #include "ipc/ipc_message.h" | 16 #include "ipc/ipc_message.h" |
20 #include "ipc/ipc_sender.h" | 17 #include "ipc/ipc_sender.h" |
21 #include "skia/ext/refptr.h" | 18 #include "skia/ext/refptr.h" |
22 #include "third_party/skia/include/core/SkCanvas.h" | 19 #include "third_party/skia/include/core/SkCanvas.h" |
23 #include "url/gurl.h" | 20 #include "url/gurl.h" |
24 #include "ui/gl/gpu_preference.h" | 21 #include "ui/gl/gpu_preference.h" |
25 #include "ui/surface/transport_dib.h" | 22 #include "ui/surface/transport_dib.h" |
26 | 23 |
| 24 #if defined(OS_MACOSX) |
| 25 #include <ApplicationServices/ApplicationServices.h> |
| 26 |
| 27 #include "base/mac/scoped_cftyperef.h" |
| 28 #endif |
| 29 |
27 struct PluginMsg_FetchURL_Params; | 30 struct PluginMsg_FetchURL_Params; |
28 | 31 |
29 namespace content { | 32 namespace content { |
30 class PluginChannel; | 33 class PluginChannel; |
31 class WebPluginDelegateImpl; | 34 class WebPluginDelegateImpl; |
32 | 35 |
33 #if defined(OS_MACOSX) | 36 #if defined(OS_MACOSX) |
34 class WebPluginAcceleratedSurfaceProxy; | 37 class WebPluginAcceleratedSurfaceProxy; |
35 #endif | 38 #endif |
36 | 39 |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 212 |
210 // Contains the routing id of the host render view. | 213 // Contains the routing id of the host render view. |
211 int host_render_view_routing_id_; | 214 int host_render_view_routing_id_; |
212 | 215 |
213 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 216 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
214 }; | 217 }; |
215 | 218 |
216 } // namespace content | 219 } // namespace content |
217 | 220 |
218 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 221 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |