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/debug/crash_logging.h" | 8 #include "base/debug/crash_logging.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
15 #include "cc/layers/io_surface_layer.h" | 15 #include "cc/layers/io_surface_layer.h" |
16 #include "content/child/appcache/web_application_cache_host_impl.h" | 16 #include "content/child/appcache/web_application_cache_host_impl.h" |
17 #include "content/child/npapi/plugin_host.h" | 17 #include "content/child/npapi/plugin_host.h" |
18 #include "content/child/npapi/plugin_instance.h" | 18 #include "content/child/npapi/plugin_instance.h" |
19 #include "content/child/npapi/webplugin_delegate_impl.h" | 19 #include "content/child/npapi/webplugin_delegate_impl.h" |
| 20 #include "content/child/npapi/webplugin_resource_client.h" |
20 #include "content/common/view_messages.h" | 21 #include "content/common/view_messages.h" |
21 #include "content/public/common/content_constants.h" | 22 #include "content/public/common/content_constants.h" |
22 #include "content/public/renderer/content_renderer_client.h" | 23 #include "content/public/renderer/content_renderer_client.h" |
23 #include "content/renderer/npapi/webplugin_delegate_proxy.h" | 24 #include "content/renderer/npapi/webplugin_delegate_proxy.h" |
24 #include "content/renderer/render_process.h" | 25 #include "content/renderer/render_process.h" |
25 #include "content/renderer/render_view_impl.h" | 26 #include "content/renderer/render_view_impl.h" |
26 #include "net/base/escape.h" | 27 #include "net/base/escape.h" |
27 #include "net/base/net_errors.h" | 28 #include "net/base/net_errors.h" |
28 #include "net/http/http_response_headers.h" | 29 #include "net/http/http_response_headers.h" |
29 #include "skia/ext/platform_canvas.h" | 30 #include "skia/ext/platform_canvas.h" |
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1466 case PLUGIN_SRC: | 1467 case PLUGIN_SRC: |
1467 webframe_->setReferrerForRequest(*request, plugin_url_); | 1468 webframe_->setReferrerForRequest(*request, plugin_url_); |
1468 break; | 1469 break; |
1469 | 1470 |
1470 default: | 1471 default: |
1471 break; | 1472 break; |
1472 } | 1473 } |
1473 } | 1474 } |
1474 | 1475 |
1475 } // namespace content | 1476 } // namespace content |
OLD | NEW |