OLD | NEW |
1 // Copyright (c) 2011 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 #include "chrome/plugin/webplugin_delegate_stub.h" | 5 #include "content/plugin/webplugin_delegate_stub.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "chrome/plugin/npobject_stub.h" | |
11 #include "chrome/plugin/plugin_channel.h" | |
12 #include "chrome/plugin/plugin_thread.h" | |
13 #include "chrome/plugin/webplugin_proxy.h" | |
14 #include "content/common/content_client.h" | 10 #include "content/common/content_client.h" |
15 #include "content/common/content_switches.h" | 11 #include "content/common/content_switches.h" |
16 #include "content/common/plugin_messages.h" | 12 #include "content/common/plugin_messages.h" |
| 13 #include "content/plugin/npobject_stub.h" |
| 14 #include "content/plugin/plugin_channel.h" |
| 15 #include "content/plugin/plugin_thread.h" |
| 16 #include "content/plugin/webplugin_proxy.h" |
17 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
18 #include "third_party/npapi/bindings/npruntime.h" | 18 #include "third_party/npapi/bindings/npruntime.h" |
19 #include "skia/ext/platform_device.h" | 19 #include "skia/ext/platform_device.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
22 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | 22 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
23 #include "webkit/glue/webcursor.h" | 23 #include "webkit/glue/webcursor.h" |
24 | 24 |
25 #if defined(OS_WIN) | 25 #if defined(OS_WIN) |
26 #include "base/scoped_ptr.h" | 26 #include "base/scoped_ptr.h" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 webplugin_->OnResourceCreated(resource_id, resource_client); | 442 webplugin_->OnResourceCreated(resource_id, resource_client); |
443 } | 443 } |
444 | 444 |
445 #if defined(OS_MACOSX) | 445 #if defined(OS_MACOSX) |
446 void WebPluginDelegateStub::OnSetFakeAcceleratedSurfaceWindowHandle( | 446 void WebPluginDelegateStub::OnSetFakeAcceleratedSurfaceWindowHandle( |
447 gfx::PluginWindowHandle window) { | 447 gfx::PluginWindowHandle window) { |
448 delegate_->set_windowed_handle(window); | 448 delegate_->set_windowed_handle(window); |
449 } | 449 } |
450 #endif | 450 #endif |
451 | 451 |
OLD | NEW |