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_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ | 5 #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ |
6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ | 6 #define CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/gfx/rect.h" | 11 #include "base/gfx/rect.h" |
12 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
13 #include "base/scoped_handle.h" | 13 #include "base/scoped_handle.h" |
14 #include "chrome/common/ipc_message.h" | 14 #include "chrome/common/ipc_message.h" |
| 15 #include "chrome/common/plugin_messages.h" |
15 #include "chrome/plugin/npobject_stub.h" | 16 #include "chrome/plugin/npobject_stub.h" |
16 #include "chrome/renderer/plugin_channel_host.h" | 17 #include "chrome/renderer/plugin_channel_host.h" |
17 #include "webkit/glue/webplugin.h" | 18 #include "webkit/glue/webplugin.h" |
18 #include "webkit/glue/webplugin_delegate.h" | 19 #include "webkit/glue/webplugin_delegate.h" |
19 | 20 |
20 class GURL; | 21 class GURL; |
21 struct PluginHostMsg_RouteToFrame_Params; | 22 struct PluginHostMsg_RouteToFrame_Params; |
22 struct PluginHostMsg_URLRequest_Params; | |
23 class RenderView; | 23 class RenderView; |
24 class SkBitmap; | 24 class SkBitmap; |
25 | 25 |
26 namespace base { | 26 namespace base { |
27 class SharedMemory; | |
28 class WaitableEvent; | 27 class WaitableEvent; |
29 } | 28 } |
30 | 29 |
31 namespace skia { | 30 namespace skia { |
32 class PlatformCanvasWin; | 31 class PlatformCanvasWin; |
33 } | 32 } |
34 | 33 |
35 // An implementation of WebPluginDelegate that proxies all calls to | 34 // An implementation of WebPluginDelegate that proxies all calls to |
36 // the plugin process. | 35 // the plugin process. |
37 class WebPluginDelegateProxy : public WebPluginDelegate, | 36 class WebPluginDelegateProxy : public WebPluginDelegate, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 scoped_ptr<base::SharedMemory> background_store_; | 188 scoped_ptr<base::SharedMemory> background_store_; |
190 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_; | 189 scoped_ptr<skia::PlatformCanvasWin> background_store_canvas_; |
191 // This lets us know which portion of the backing store has been painted into. | 190 // This lets us know which portion of the backing store has been painted into. |
192 gfx::Rect backing_store_painted_; | 191 gfx::Rect backing_store_painted_; |
193 | 192 |
194 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); | 193 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); |
195 }; | 194 }; |
196 | 195 |
197 #endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ | 196 #endif // #ifndef CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H__ |
198 | 197 |
OLD | NEW |