OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 "chrome/renderer/plugins/webview_plugin.h" | 5 #include "chrome/renderer/plugins/webview_plugin.h" |
6 | 6 |
7 #include "base/message_loop.h" | 7 #include "base/message_loop.h" |
8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
9 #include "skia/ext/platform_canvas.h" | 9 #include "skia/ext/platform_canvas.h" |
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 10 #include "third_party/WebKit/public/platform/WebSize.h" |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 11 #include "third_party/WebKit/public/platform/WebURL.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" | 12 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLResponse.h" | 13 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
21 #include "webkit/glue/webpreferences.h" | 21 #include "webkit/glue/webpreferences.h" |
22 | 22 |
23 using WebKit::WebCanvas; | 23 using WebKit::WebCanvas; |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 error.reason = -1; | 240 error.reason = -1; |
241 error.unreachableURL = request.url(); | 241 error.unreachableURL = request.url(); |
242 return error; | 242 return error; |
243 } | 243 } |
244 | 244 |
245 void WebViewPlugin::didReceiveResponse(WebFrame* frame, | 245 void WebViewPlugin::didReceiveResponse(WebFrame* frame, |
246 unsigned identifier, | 246 unsigned identifier, |
247 const WebURLResponse& response) { | 247 const WebURLResponse& response) { |
248 WebFrameClient::didReceiveResponse(frame, identifier, response); | 248 WebFrameClient::didReceiveResponse(frame, identifier, response); |
249 } | 249 } |
OLD | NEW |