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 "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/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/linked_ptr.h" | 9 #include "base/memory/linked_ptr.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 #include "googleurl/src/url_util.h" | 16 #include "googleurl/src/url_util.h" |
17 #include "net/base/escape.h" | 17 #include "net/base/escape.h" |
18 #include "net/base/net_errors.h" | 18 #include "net/base/net_errors.h" |
19 #include "net/http/http_response_headers.h" | 19 #include "net/http/http_response_headers.h" |
20 #include "skia/ext/platform_canvas.h" | 20 #include "skia/ext/platform_canvas.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookieJar.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCookieJar
.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebCString.h
" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebData.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPBody.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPBody.
h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPHeaderVisitor.
h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPHeade
rVisitor.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitPlatformSupport
.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatfo
rmSupport.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLError.
h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader
.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLLoader
Client.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon
se.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
42 #include "ui/gfx/rect.h" | 42 #include "ui/gfx/rect.h" |
43 #include "webkit/appcache/web_application_cache_host_impl.h" | 43 #include "webkit/appcache/web_application_cache_host_impl.h" |
44 #include "webkit/glue/multipart_response_delegate.h" | 44 #include "webkit/glue/multipart_response_delegate.h" |
45 #include "webkit/plugins/npapi/plugin_host.h" | 45 #include "webkit/plugins/npapi/plugin_host.h" |
46 #include "webkit/plugins/npapi/plugin_instance.h" | 46 #include "webkit/plugins/npapi/plugin_instance.h" |
47 #include "webkit/plugins/npapi/webplugin_delegate.h" | 47 #include "webkit/plugins/npapi/webplugin_delegate.h" |
48 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 48 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
49 | 49 |
50 using appcache::WebApplicationCacheHostImpl; | 50 using appcache::WebApplicationCacheHostImpl; |
(...skipping 1340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 webframe_->setReferrerForRequest(*request, plugin_url_); | 1391 webframe_->setReferrerForRequest(*request, plugin_url_); |
1392 break; | 1392 break; |
1393 | 1393 |
1394 default: | 1394 default: |
1395 break; | 1395 break; |
1396 } | 1396 } |
1397 } | 1397 } |
1398 | 1398 |
1399 } // namespace npapi | 1399 } // namespace npapi |
1400 } // namespace webkit | 1400 } // namespace webkit |
OLD | NEW |