OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 5 #ifndef CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 6 #define CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/hash_tables.h" | 10 #include "base/hash_tables.h" |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
13 #include "base/scoped_cftyperef.h" | 13 #include "base/scoped_cftyperef.h" |
14 #endif | 14 #endif |
15 #include "base/scoped_handle.h" | 15 #include "base/scoped_handle.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
17 #include "base/shared_memory.h" | 17 #include "base/shared_memory.h" |
18 #include "base/timer.h" | 18 #include "base/timer.h" |
19 #include "chrome/common/ipc_message.h" | |
20 #include "chrome/common/chrome_plugin_api.h" | 19 #include "chrome/common/chrome_plugin_api.h" |
21 #include "chrome/common/transport_dib.h" | 20 #include "chrome/common/transport_dib.h" |
22 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
| 22 #include "ipc/ipc_message.h" |
23 #include "webkit/glue/webplugin.h" | 23 #include "webkit/glue/webplugin.h" |
24 | 24 |
25 namespace base { | 25 namespace base { |
26 class WaitableEvent; | 26 class WaitableEvent; |
27 } | 27 } |
28 | 28 |
29 class PluginChannel; | 29 class PluginChannel; |
30 class WebPluginDelegate; | 30 class WebPluginDelegate; |
31 | 31 |
32 // This is an implementation of WebPlugin that proxies all calls to the | 32 // This is an implementation of WebPlugin that proxies all calls to the |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 scoped_ptr<TransportDIB> windowless_dib_; | 186 scoped_ptr<TransportDIB> windowless_dib_; |
187 scoped_ptr<TransportDIB> background_dib_; | 187 scoped_ptr<TransportDIB> background_dib_; |
188 scoped_ptr<skia::PlatformCanvas> windowless_canvas_; | 188 scoped_ptr<skia::PlatformCanvas> windowless_canvas_; |
189 scoped_ptr<skia::PlatformCanvas> background_canvas_; | 189 scoped_ptr<skia::PlatformCanvas> background_canvas_; |
190 #endif | 190 #endif |
191 | 191 |
192 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; | 192 ScopedRunnableMethodFactory<WebPluginProxy> runnable_method_factory_; |
193 }; | 193 }; |
194 | 194 |
195 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ | 195 #endif // CHROME_PLUGIN_PLUGIN_WEBPLUGIN_PROXY_H__ |
OLD | NEW |