| OLD | NEW |
| 1 // Copyright (c) 2010 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 #if defined(USE_X11) | |
| 12 #include "ui/base/x/x11_util.h" | |
| 13 #endif | |
| 14 #include "app/surface/transport_dib.h" | |
| 15 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
| 16 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
| 17 #if defined(OS_MACOSX) | 13 #if defined(OS_MACOSX) |
| 18 #include "base/mac/scoped_cftyperef.h" | 14 #include "base/mac/scoped_cftyperef.h" |
| 19 #endif | 15 #endif |
| 20 #include "base/scoped_handle.h" | 16 #include "base/scoped_handle.h" |
| 21 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 22 #include "base/shared_memory.h" | 18 #include "base/shared_memory.h" |
| 23 #include "base/timer.h" | 19 #include "base/timer.h" |
| 24 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
| 25 #include "ipc/ipc_message.h" | 21 #include "ipc/ipc_message.h" |
| 22 #if defined(USE_X11) |
| 23 #include "ui/base/x/x11_util.h" |
| 24 #endif |
| 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 webkit { | 30 namespace webkit { |
| 31 namespace npapi { | 31 namespace npapi { |
| 32 class WebPluginDelegateImpl; | 32 class WebPluginDelegateImpl; |
| 33 } | 33 } |
| 34 } | 34 } |
| 35 | 35 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 | 216 |
| 217 #endif | 217 #endif |
| 218 | 218 |
| 219 // Contains the routing id of the host render view. | 219 // Contains the routing id of the host render view. |
| 220 int host_render_view_routing_id_; | 220 int host_render_view_routing_id_; |
| 221 | 221 |
| 222 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 222 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ | 225 #endif // CONTENT_PLUGIN_WEBPLUGIN_PROXY_H_ |
| OLD | NEW |