| 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 "webkit/plugins/npapi/webplugin_impl.h" | 5 #include "webkit/plugins/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.h" | 11 #include "base/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 "googleurl/src/gurl.h" | |
| 17 #include "googleurl/src/url_util.h" | |
| 18 #include "net/base/escape.h" | 16 #include "net/base/escape.h" |
| 19 #include "net/base/net_errors.h" | 17 #include "net/base/net_errors.h" |
| 20 #include "net/http/http_response_headers.h" | 18 #include "net/http/http_response_headers.h" |
| 21 #include "skia/ext/platform_canvas.h" | 19 #include "skia/ext/platform_canvas.h" |
| 22 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | |
| 23 #include "third_party/WebKit/public/web/WebCursorInfo.h" | |
| 24 #include "third_party/WebKit/public/web/WebDocument.h" | |
| 25 #include "third_party/WebKit/public/web/WebFrame.h" | |
| 26 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
| 27 #include "third_party/WebKit/public/web/WebKit.h" | |
| 28 #include "third_party/WebKit/public/web/WebPluginContainer.h" | |
| 29 #include "third_party/WebKit/public/web/WebPluginParams.h" | |
| 30 #include "third_party/WebKit/public/web/WebURLLoaderOptions.h" | |
| 31 #include "third_party/WebKit/public/web/WebView.h" | |
| 32 #include "third_party/WebKit/public/platform/WebCString.h" | 20 #include "third_party/WebKit/public/platform/WebCString.h" |
| 33 #include "third_party/WebKit/public/platform/WebCookieJar.h" | 21 #include "third_party/WebKit/public/platform/WebCookieJar.h" |
| 34 #include "third_party/WebKit/public/platform/WebData.h" | 22 #include "third_party/WebKit/public/platform/WebData.h" |
| 35 #include "third_party/WebKit/public/platform/WebHTTPBody.h" | 23 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
| 36 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" | 24 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
| 37 #include "third_party/WebKit/public/platform/WebURL.h" | 25 #include "third_party/WebKit/public/platform/WebURL.h" |
| 38 #include "third_party/WebKit/public/platform/WebURLError.h" | 26 #include "third_party/WebKit/public/platform/WebURLError.h" |
| 39 #include "third_party/WebKit/public/platform/WebURLLoader.h" | 27 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
| 40 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" | 28 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
| 41 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 29 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 30 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
| 31 #include "third_party/WebKit/public/web/WebCursorInfo.h" |
| 32 #include "third_party/WebKit/public/web/WebDocument.h" |
| 33 #include "third_party/WebKit/public/web/WebFrame.h" |
| 34 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 35 #include "third_party/WebKit/public/web/WebKit.h" |
| 36 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 37 #include "third_party/WebKit/public/web/WebPluginParams.h" |
| 38 #include "third_party/WebKit/public/web/WebURLLoaderOptions.h" |
| 39 #include "third_party/WebKit/public/web/WebView.h" |
| 42 #include "ui/gfx/rect.h" | 40 #include "ui/gfx/rect.h" |
| 41 #include "url/gurl.h" |
| 42 #include "url/url_util.h" |
| 43 #include "webkit/glue/multipart_response_delegate.h" | 43 #include "webkit/glue/multipart_response_delegate.h" |
| 44 #include "webkit/plugins/npapi/plugin_host.h" | 44 #include "webkit/plugins/npapi/plugin_host.h" |
| 45 #include "webkit/plugins/npapi/plugin_instance.h" | 45 #include "webkit/plugins/npapi/plugin_instance.h" |
| 46 #include "webkit/plugins/npapi/webplugin_delegate.h" | 46 #include "webkit/plugins/npapi/webplugin_delegate.h" |
| 47 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 47 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 48 #include "webkit/plugins/plugin_constants.h" | 48 #include "webkit/plugins/plugin_constants.h" |
| 49 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" | 49 #include "webkit/renderer/appcache/web_application_cache_host_impl.h" |
| 50 #include "webkit/renderer/compositor_bindings/web_layer_impl.h" | 50 #include "webkit/renderer/compositor_bindings/web_layer_impl.h" |
| 51 | 51 |
| 52 using appcache::WebApplicationCacheHostImpl; | 52 using appcache::WebApplicationCacheHostImpl; |
| (...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 webframe_->setReferrerForRequest(*request, plugin_url_); | 1436 webframe_->setReferrerForRequest(*request, plugin_url_); |
| 1437 break; | 1437 break; |
| 1438 | 1438 |
| 1439 default: | 1439 default: |
| 1440 break; | 1440 break; |
| 1441 } | 1441 } |
| 1442 } | 1442 } |
| 1443 | 1443 |
| 1444 } // namespace npapi | 1444 } // namespace npapi |
| 1445 } // namespace webkit | 1445 } // namespace webkit |
| OLD | NEW |