| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/gfx/native_widget_types.h" |
| 11 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 12 #include "base/gfx/rect.h" | 13 #include "base/gfx/rect.h" |
| 13 #include "base/gfx/native_widget_types.h" | |
| 14 #include "base/ref_counted.h" | 14 #include "base/ref_counted.h" |
| 15 #include "base/weak_ptr.h" | 15 #include "base/weak_ptr.h" |
| 16 #include "chrome/common/transport_dib.h" | 16 #include "chrome/common/transport_dib.h" |
| 17 #include "chrome/renderer/plugin_channel_host.h" | 17 #include "chrome/renderer/plugin_channel_host.h" |
| 18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
| 19 #include "ipc/ipc_message.h" | 19 #include "ipc/ipc_message.h" |
| 20 #include "skia/ext/platform_canvas.h" | 20 #include "skia/ext/platform_canvas.h" |
| 21 #include "webkit/glue/webplugin.h" | 21 #include "webkit/glue/webplugin.h" |
| 22 #include "webkit/glue/webplugininfo.h" | 22 #include "webkit/glue/webplugininfo.h" |
| 23 #include "webkit/glue/webplugin_delegate.h" | 23 #include "webkit/glue/webplugin_delegate.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 scoped_ptr<TransportDIB> transport_store_; | 191 scoped_ptr<TransportDIB> transport_store_; |
| 192 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; | 192 scoped_ptr<skia::PlatformCanvas> transport_store_canvas_; |
| 193 scoped_ptr<TransportDIB> background_store_; | 193 scoped_ptr<TransportDIB> background_store_; |
| 194 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; | 194 scoped_ptr<skia::PlatformCanvas> background_store_canvas_; |
| 195 // This lets us know which portion of the backing store has been painted into. | 195 // This lets us know which portion of the backing store has been painted into. |
| 196 gfx::Rect backing_store_painted_; | 196 gfx::Rect backing_store_painted_; |
| 197 | 197 |
| 198 // The url of the main frame hosting the plugin. | 198 // The url of the main frame hosting the plugin. |
| 199 GURL page_url_; | 199 GURL page_url_; |
| 200 | 200 |
| 201 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateProxy); | 201 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
| 202 }; | 202 }; |
| 203 | 203 |
| 204 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 204 #endif // CHROME_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
| OLD | NEW |