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_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 5 #ifndef CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 6 #define CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "app/surface/transport_dib.h" | |
13 #include "base/ref_counted.h" | 12 #include "base/ref_counted.h" |
14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
15 #include "base/weak_ptr.h" | 14 #include "base/weak_ptr.h" |
16 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
17 #include "ipc/ipc_channel.h" | 16 #include "ipc/ipc_channel.h" |
18 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
19 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
20 #include "ui/gfx/rect.h" | 19 #include "ui/gfx/rect.h" |
| 20 #include "ui/gfx/surface/transport_dib.h" |
21 #include "webkit/plugins/npapi/webplugininfo.h" | 21 #include "webkit/plugins/npapi/webplugininfo.h" |
22 #include "webkit/plugins/npapi/webplugin_delegate.h" | 22 #include "webkit/plugins/npapi/webplugin_delegate.h" |
23 | 23 |
24 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
25 #include "base/hash_tables.h" | 25 #include "base/hash_tables.h" |
26 #include "base/linked_ptr.h" | 26 #include "base/linked_ptr.h" |
27 #endif | 27 #endif |
28 | 28 |
29 struct NPObject; | 29 struct NPObject; |
30 class NPObjectStub; | 30 class NPObjectStub; |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 // This lets us know which portion of the backing store has been painted into. | 266 // This lets us know which portion of the backing store has been painted into. |
267 gfx::Rect backing_store_painted_; | 267 gfx::Rect backing_store_painted_; |
268 | 268 |
269 // The url of the main frame hosting the plugin. | 269 // The url of the main frame hosting the plugin. |
270 GURL page_url_; | 270 GURL page_url_; |
271 | 271 |
272 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); | 272 DISALLOW_COPY_AND_ASSIGN(WebPluginDelegateProxy); |
273 }; | 273 }; |
274 | 274 |
275 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ | 275 #endif // CONTENT_RENDERER_WEBPLUGIN_DELEGATE_PROXY_H_ |
OLD | NEW |