| 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 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/shared_memory.h" | 18 #include "base/shared_memory.h" |
| 19 #include "base/timer.h" | 19 #include "base/timer.h" |
| 20 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
| 21 #include "ipc/ipc_message.h" | 21 #include "ipc/ipc_message.h" |
| 22 #if defined(USE_X11) | 22 #if defined(USE_X11) |
| 23 #include "ui/base/x/x11_util.h" | 23 #include "ui/base/x/x11_util.h" |
| 24 #endif | 24 #endif |
| 25 #include "ui/gfx/surface/transport_dib.h" | 25 #include "ui/gfx/surface/transport_dib.h" |
| 26 #include "webkit/plugins/npapi/webplugin.h" | 26 #include "webkit/plugins/npapi/webplugin.h" |
| 27 | 27 |
| 28 class PluginChannel; | 28 class PluginChannel; |
| 29 | 29 |
| 30 namespace skia { |
| 31 class PlatformCanvas; |
| 32 } |
| 33 |
| 30 namespace webkit { | 34 namespace webkit { |
| 31 namespace npapi { | 35 namespace npapi { |
| 32 class WebPluginDelegateImpl; | 36 class WebPluginDelegateImpl; |
| 33 } | 37 } |
| 34 } | 38 } |
| 35 | 39 |
| 36 #if defined(OS_MACOSX) | 40 #if defined(OS_MACOSX) |
| 37 class WebPluginAcceleratedSurfaceProxy; | 41 class WebPluginAcceleratedSurfaceProxy; |
| 38 #endif | 42 #endif |
| 39 | 43 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 221 |
| 218 #endif | 222 #endif |
| 219 | 223 |
| 220 // Contains the routing id of the host render view. | 224 // Contains the routing id of the host render view. |
| 221 int host_render_view_routing_id_; | 225 int host_render_view_routing_id_; |
| 222 | 226 |
| 223 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 227 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 224 }; | 228 }; |
| 225 | 229 |
| 226 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 230 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |