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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
12 #include "base/gfx/rect.h" | 12 #include "base/gfx/rect.h" |
13 #include "base/gfx/native_widget_types.h" | 13 #include "base/gfx/native_widget_types.h" |
14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
15 #include "chrome/common/ipc_message.h" | 15 #include "chrome/common/ipc_message.h" |
16 #include "chrome/renderer/plugin_channel_host.h" | 16 #include "chrome/renderer/plugin_channel_host.h" |
| 17 #include "googleurl/src/gurl.h" |
17 #include "skia/ext/platform_canvas.h" | 18 #include "skia/ext/platform_canvas.h" |
18 #include "webkit/glue/webplugin.h" | 19 #include "webkit/glue/webplugin.h" |
19 #include "webkit/glue/webplugin_delegate.h" | 20 #include "webkit/glue/webplugin_delegate.h" |
20 | 21 |
21 class GURL; | |
22 struct NPObject; | 22 struct NPObject; |
23 class NPObjectStub; | 23 class NPObjectStub; |
24 struct NPVariant_Param; | 24 struct NPVariant_Param; |
25 struct PluginHostMsg_URLRequest_Params; | 25 struct PluginHostMsg_URLRequest_Params; |
26 class RenderView; | 26 class RenderView; |
27 class SkBitmap; | 27 class SkBitmap; |
28 | 28 |
29 namespace base { | 29 namespace base { |
30 class SharedMemory; | 30 class SharedMemory; |
31 class WaitableEvent; | 31 class WaitableEvent; |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 bool transparent_; | 197 bool transparent_; |
198 scoped_ptr<base::SharedMemory> backing_store_; | 198 scoped_ptr<base::SharedMemory> backing_store_; |
199 scoped_ptr<skia::PlatformCanvas> backing_store_canvas_; | 199 scoped_ptr<skia::PlatformCanvas> backing_store_canvas_; |
200 scoped_ptr<base::SharedMemory> transport_store_; | 200 scoped_ptr<base::SharedMemory> transport_store_; |
201 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; | 201 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; |
202 scoped_ptr<base::SharedMemory> background_store_; | 202 scoped_ptr<base::SharedMemory> background_store_; |
203 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; | 203 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; |
204 // This lets us know which portion of the backing store has been painted into. | 204 // This lets us know which portion of the backing store has been painted into. |
205 gfx::Rect backing_store_painted_; | 205 gfx::Rect backing_store_painted_; |
206 | 206 |
| 207 // The url of the main frame hosting the plugin. |
| 208 GURL page_url_; |
| 209 |
207 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); | 210 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); |
208 }; | 211 }; |
209 | 212 |
210 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 213 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |