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/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 "cc/layers/io_surface_layer.h" | 15 #include "cc/layers/io_surface_layer.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "googleurl/src/url_util.h" | 17 #include "googleurl/src/url_util.h" |
18 #include "net/base/escape.h" | 18 #include "net/base/escape.h" |
19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
20 #include "net/http/http_response_headers.h" | 20 #include "net/http/http_response_headers.h" |
21 #include "skia/ext/platform_canvas.h" | 21 #include "skia/ext/platform_canvas.h" |
22 #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" | 22 #include "third_party/WebKit/public/platform/WebCString.h" |
23 #include "third_party/WebKit/Source/Platform/chromium/public/WebCookieJar.h" | 23 #include "third_party/WebKit/public/platform/WebCookieJar.h" |
24 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" | 24 #include "third_party/WebKit/public/platform/WebData.h" |
25 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" | 25 #include "third_party/WebKit/public/platform/WebHTTPBody.h" |
26 #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPHeaderVisito
r.h" | 26 #include "third_party/WebKit/public/platform/WebHTTPHeaderVisitor.h" |
27 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 27 #include "third_party/WebKit/public/platform/WebURL.h" |
28 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" | 28 #include "third_party/WebKit/public/platform/WebURLError.h" |
29 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoader.h" | 29 #include "third_party/WebKit/public/platform/WebURLLoader.h" |
30 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLLoaderClient.
h" | 30 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" |
31 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h" | 31 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderOptions.h
" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
(...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1373 webframe_->setReferrerForRequest(*request, plugin_url_); | 1373 webframe_->setReferrerForRequest(*request, plugin_url_); |
1374 break; | 1374 break; |
1375 | 1375 |
1376 default: | 1376 default: |
1377 break; | 1377 break; |
1378 } | 1378 } |
1379 } | 1379 } |
1380 | 1380 |
1381 } // namespace npapi | 1381 } // namespace npapi |
1382 } // namespace webkit | 1382 } // namespace webkit |
OLD | NEW |