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/renderer/npapi/webplugin_impl.h" | 5 #include "content/renderer/npapi/webplugin_impl.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug/crash_logging.h" | 9 #include "base/debug/crash_logging.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/metrics/user_metrics_action.h" | 13 #include "base/metrics/user_metrics_action.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
16 #include "base/strings/stringprintf.h" | 16 #include "base/strings/stringprintf.h" |
17 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
18 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
20 #include "cc/blink/web_layer_impl.h" | 20 #include "cc/blink/web_layer_impl.h" |
21 #include "cc/layers/io_surface_layer.h" | 21 #include "cc/layers/io_surface_layer.h" |
22 #include "cc/layers/layer_settings.h" | 22 #include "cc/layers/layer_settings.h" |
23 #include "content/child/appcache/web_application_cache_host_impl.h" | 23 #include "content/child/appcache/web_application_cache_host_impl.h" |
24 #include "content/child/multipart_response_delegate.h" | |
25 #include "content/child/npapi/plugin_host.h" | 24 #include "content/child/npapi/plugin_host.h" |
26 #include "content/child/npapi/plugin_instance.h" | 25 #include "content/child/npapi/plugin_instance.h" |
27 #include "content/child/npapi/webplugin_delegate_impl.h" | 26 #include "content/child/npapi/webplugin_delegate_impl.h" |
28 #include "content/child/npapi/webplugin_resource_client.h" | 27 #include "content/child/npapi/webplugin_resource_client.h" |
29 #include "content/common/view_messages.h" | 28 #include "content/common/view_messages.h" |
30 #include "content/public/common/content_constants.h" | 29 #include "content/public/common/content_constants.h" |
31 #include "content/public/common/content_switches.h" | 30 #include "content/public/common/content_switches.h" |
32 #include "content/public/renderer/content_renderer_client.h" | 31 #include "content/public/renderer/content_renderer_client.h" |
33 #include "content/renderer/npapi/webplugin_delegate_proxy.h" | 32 #include "content/renderer/npapi/webplugin_delegate_proxy.h" |
34 #include "content/renderer/render_frame_impl.h" | 33 #include "content/renderer/render_frame_impl.h" |
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
745 case PLUGIN_SRC: | 744 case PLUGIN_SRC: |
746 webframe_->setReferrerForRequest(*request, plugin_url_); | 745 webframe_->setReferrerForRequest(*request, plugin_url_); |
747 break; | 746 break; |
748 | 747 |
749 default: | 748 default: |
750 break; | 749 break; |
751 } | 750 } |
752 } | 751 } |
753 | 752 |
754 } // namespace content | 753 } // namespace content |
OLD | NEW |