| 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 "content/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 "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
| 11 #include "content/common/content_client.h" | |
| 12 #include "content/common/content_constants.h" | 11 #include "content/common/content_constants.h" |
| 13 #include "content/common/npobject_stub.h" | 12 #include "content/common/npobject_stub.h" |
| 14 #include "content/common/plugin_messages.h" | 13 #include "content/common/plugin_messages.h" |
| 15 #include "content/plugin/plugin_channel.h" | 14 #include "content/plugin/plugin_channel.h" |
| 16 #include "content/plugin/plugin_thread.h" | 15 #include "content/plugin/plugin_thread.h" |
| 17 #include "content/plugin/webplugin_proxy.h" | 16 #include "content/plugin/webplugin_proxy.h" |
| 17 #include "content/public/common/content_client.h" |
| 18 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
| 19 #include "third_party/npapi/bindings/npapi.h" | 19 #include "third_party/npapi/bindings/npapi.h" |
| 20 #include "third_party/npapi/bindings/npruntime.h" | 20 #include "third_party/npapi/bindings/npruntime.h" |
| 21 #include "skia/ext/platform_device.h" | 21 #include "skia/ext/platform_device.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBindings.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
| 24 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | 24 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
| 25 #include "webkit/glue/webcursor.h" | 25 #include "webkit/glue/webcursor.h" |
| 26 | 26 |
| 27 using WebKit::WebBindings; | 27 using WebKit::WebBindings; |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 delegate_->CreateSeekableResourceClient(resource_id, range_request_id); | 417 delegate_->CreateSeekableResourceClient(resource_id, range_request_id); |
| 418 webplugin_->OnResourceCreated(resource_id, resource_client); | 418 webplugin_->OnResourceCreated(resource_id, resource_client); |
| 419 } | 419 } |
| 420 | 420 |
| 421 #if defined(OS_MACOSX) | 421 #if defined(OS_MACOSX) |
| 422 void WebPluginDelegateStub::OnSetFakeAcceleratedSurfaceWindowHandle( | 422 void WebPluginDelegateStub::OnSetFakeAcceleratedSurfaceWindowHandle( |
| 423 gfx::PluginWindowHandle window) { | 423 gfx::PluginWindowHandle window) { |
| 424 delegate_->set_windowed_handle(window); | 424 delegate_->set_windowed_handle(window); |
| 425 } | 425 } |
| 426 #endif | 426 #endif |
| OLD | NEW |