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/webview_plugin.h" | 5 #include "webkit/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 "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLRequest.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques
t.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon
se.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
19 #include "webkit/glue/webpreferences.h" | 19 #include "webkit/glue/webpreferences.h" |
20 | 20 |
21 #if WEBKIT_USING_CG | 21 #if WEBKIT_USING_CG |
22 #include <CoreGraphics/CGContext.h> | 22 #include <CoreGraphics/CGContext.h> |
23 #elif WEBKIT_USING_SKIA | 23 #elif WEBKIT_USING_SKIA |
24 #include "skia/ext/platform_canvas.h" | 24 #include "skia/ext/platform_canvas.h" |
25 #endif | 25 #endif |
26 | 26 |
27 using WebKit::WebCanvas; | 27 using WebKit::WebCanvas; |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 delegate_->DidFinishLoading(); | 248 delegate_->DidFinishLoading(); |
249 } | 249 } |
250 | 250 |
251 void WebViewPlugin::didReceiveResponse(WebFrame* frame, | 251 void WebViewPlugin::didReceiveResponse(WebFrame* frame, |
252 unsigned identifier, | 252 unsigned identifier, |
253 const WebURLResponse& response) { | 253 const WebURLResponse& response) { |
254 WebFrameClient::didReceiveResponse(frame, identifier, response); | 254 WebFrameClient::didReceiveResponse(frame, identifier, response); |
255 } | 255 } |
256 | 256 |
257 } // namespace webkit | 257 } // namespace webkit |
OLD | NEW |