| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 "components/plugins/renderer/webview_plugin.h" | 5 #include "components/plugins/renderer/webview_plugin.h" |
| 6 | 6 |
| 7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
| 8 #include "base/metrics/histogram.h" | 8 #include "base/metrics/histogram.h" |
| 9 #include "base/safe_numerics.h" | 9 #include "base/safe_numerics.h" |
| 10 #include "content/public/renderer/web_preferences.h" | 10 #include "content/public/renderer/web_preferences.h" |
| 11 #include "skia/ext/platform_canvas.h" | 11 #include "skia/ext/platform_canvas.h" |
| 12 #include "third_party/WebKit/public/platform/WebSize.h" | 12 #include "third_party/WebKit/public/platform/WebSize.h" |
| 13 #include "third_party/WebKit/public/platform/WebURL.h" | 13 #include "third_party/WebKit/public/platform/WebURL.h" |
| 14 #include "third_party/WebKit/public/platform/WebURLRequest.h" | 14 #include "third_party/WebKit/public/platform/WebURLRequest.h" |
| 15 #include "third_party/WebKit/public/platform/WebURLResponse.h" | 15 #include "third_party/WebKit/public/platform/WebURLResponse.h" |
| 16 #include "third_party/WebKit/public/web/WebCursorInfo.h" | |
| 17 #include "third_party/WebKit/public/web/WebDocument.h" | 16 #include "third_party/WebKit/public/web/WebDocument.h" |
| 18 #include "third_party/WebKit/public/web/WebElement.h" | 17 #include "third_party/WebKit/public/web/WebElement.h" |
| 19 #include "third_party/WebKit/public/web/WebFrame.h" | 18 #include "third_party/WebKit/public/web/WebFrame.h" |
| 20 #include "third_party/WebKit/public/web/WebInputEvent.h" | 19 #include "third_party/WebKit/public/web/WebInputEvent.h" |
| 21 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 20 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
| 22 #include "third_party/WebKit/public/web/WebView.h" | 21 #include "third_party/WebKit/public/web/WebView.h" |
| 23 #include "webkit/common/webpreferences.h" | 22 #include "webkit/common/webpreferences.h" |
| 24 | 23 |
| 25 using blink::WebCanvas; | 24 using blink::WebCanvas; |
| 26 using blink::WebCursorInfo; | 25 using blink::WebCursorInfo; |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 void WebViewPlugin::didClearWindowObject(WebFrame* frame) { | 214 void WebViewPlugin::didClearWindowObject(WebFrame* frame) { |
| 216 if (delegate_) | 215 if (delegate_) |
| 217 delegate_->BindWebFrame(frame); | 216 delegate_->BindWebFrame(frame); |
| 218 } | 217 } |
| 219 | 218 |
| 220 void WebViewPlugin::didReceiveResponse(WebFrame* frame, | 219 void WebViewPlugin::didReceiveResponse(WebFrame* frame, |
| 221 unsigned identifier, | 220 unsigned identifier, |
| 222 const WebURLResponse& response) { | 221 const WebURLResponse& response) { |
| 223 WebFrameClient::didReceiveResponse(frame, identifier, response); | 222 WebFrameClient::didReceiveResponse(frame, identifier, response); |
| 224 } | 223 } |
| OLD | NEW |