OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
12 #include "content/child/npapi/plugin_instance.h" | 12 #include "content/child/npapi/plugin_instance.h" |
13 #include "content/child/npapi/webplugin_delegate_impl.h" | 13 #include "content/child/npapi/webplugin_delegate_impl.h" |
14 #include "content/child/npapi/webplugin_resource_client.h" | 14 #include "content/child/npapi/webplugin_resource_client.h" |
15 #include "content/child/plugin_messages.h" | 15 #include "content/child/plugin_messages.h" |
| 16 #include "content/common/cursors/webcursor.h" |
16 #include "content/plugin/plugin_channel.h" | 17 #include "content/plugin/plugin_channel.h" |
17 #include "content/plugin/plugin_thread.h" | 18 #include "content/plugin/plugin_thread.h" |
18 #include "content/plugin/webplugin_proxy.h" | 19 #include "content/plugin/webplugin_proxy.h" |
19 #include "content/public/common/content_client.h" | 20 #include "content/public/common/content_client.h" |
20 #include "content/public/common/content_constants.h" | 21 #include "content/public/common/content_constants.h" |
21 #include "content/public/common/content_switches.h" | 22 #include "content/public/common/content_switches.h" |
22 #include "skia/ext/platform_device.h" | 23 #include "skia/ext/platform_device.h" |
23 #include "third_party/WebKit/public/platform/WebCursorInfo.h" | 24 #include "third_party/WebKit/public/platform/WebCursorInfo.h" |
24 #include "third_party/WebKit/public/web/WebBindings.h" | 25 #include "third_party/WebKit/public/web/WebBindings.h" |
25 #include "third_party/npapi/bindings/npapi.h" | 26 #include "third_party/npapi/bindings/npapi.h" |
26 #include "third_party/npapi/bindings/npruntime.h" | 27 #include "third_party/npapi/bindings/npruntime.h" |
27 #include "webkit/common/cursors/webcursor.h" | |
28 | 28 |
29 using blink::WebBindings; | 29 using blink::WebBindings; |
30 using blink::WebCursorInfo; | 30 using blink::WebCursorInfo; |
31 | 31 |
32 namespace content { | 32 namespace content { |
33 | 33 |
34 static void DestroyWebPluginAndDelegate( | 34 static void DestroyWebPluginAndDelegate( |
35 base::WeakPtr<NPObjectStub> scriptable_object, | 35 base::WeakPtr<NPObjectStub> scriptable_object, |
36 WebPluginDelegateImpl* delegate, | 36 WebPluginDelegateImpl* delegate, |
37 WebPlugin* webplugin) { | 37 WebPlugin* webplugin) { |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 static_cast<unsigned int>(params.post_data.size()), | 440 static_cast<unsigned int>(params.post_data.size()), |
441 params.referrer, | 441 params.referrer, |
442 params.notify_redirect, | 442 params.notify_redirect, |
443 params.is_plugin_src_load, | 443 params.is_plugin_src_load, |
444 channel_->renderer_id(), | 444 channel_->renderer_id(), |
445 params.render_frame_id, | 445 params.render_frame_id, |
446 webplugin_->host_render_view_routing_id()); | 446 webplugin_->host_render_view_routing_id()); |
447 } | 447 } |
448 | 448 |
449 } // namespace content | 449 } // namespace content |
OLD | NEW |