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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #if defined(OS_MACOSX) | 13 #if defined(OS_MACOSX) |
14 #include "base/mac/scoped_cftyperef.h" | 14 #include "base/mac/scoped_cftyperef.h" |
15 #endif | 15 #endif |
16 #include "base/memory/scoped_handle.h" | 16 #include "base/memory/scoped_handle.h" |
17 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
19 #include "base/shared_memory.h" | 19 #include "base/shared_memory.h" |
20 #include "base/timer.h" | 20 #include "base/timer.h" |
21 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
22 #include "ipc/ipc_message.h" | 22 #include "ipc/ipc_message.h" |
23 #if defined(USE_X11) | 23 #if defined(USE_X11) |
24 #include "ui/base/x/x11_util.h" | 24 #include "ui/base/x/x11_util.h" |
25 #endif | 25 #endif |
26 #include "ui/gfx/gl/gpu_preference.h" | 26 #include "ui/gfx/gl/gpu_preference.h" |
27 #include "ui/gfx/surface/transport_dib.h" | 27 #include "ui/surface/transport_dib.h" |
28 #include "webkit/plugins/npapi/webplugin.h" | 28 #include "webkit/plugins/npapi/webplugin.h" |
29 | 29 |
30 class PluginChannel; | 30 class PluginChannel; |
31 | 31 |
32 namespace skia { | 32 namespace skia { |
33 class PlatformCanvas; | 33 class PlatformCanvas; |
34 } | 34 } |
35 | 35 |
36 namespace webkit { | 36 namespace webkit { |
37 namespace npapi { | 37 namespace npapi { |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 294 |
295 #endif | 295 #endif |
296 | 296 |
297 // Contains the routing id of the host render view. | 297 // Contains the routing id of the host render view. |
298 int host_render_view_routing_id_; | 298 int host_render_view_routing_id_; |
299 | 299 |
300 base::WeakPtrFactory<WebPluginProxy> weak_factory_; | 300 base::WeakPtrFactory<WebPluginProxy> weak_factory_; |
301 }; | 301 }; |
302 | 302 |
303 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 303 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
OLD | NEW |