OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/linked_ptr.h" | 7 #include "base/linked_ptr.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/stringprintf.h" | 11 #include "base/stringprintf.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "gfx/rect.h" | |
14 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
15 #include "net/base/escape.h" | 14 #include "net/base/escape.h" |
16 #include "net/base/net_errors.h" | 15 #include "net/base/net_errors.h" |
17 #include "net/http/http_response_headers.h" | 16 #include "net/http/http_response_headers.h" |
18 #include "skia/ext/platform_canvas.h" | 17 #include "skia/ext/platform_canvas.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebConsoleMessage.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookieJar.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCookieJar.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCString.h" |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebData.h" |
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPBody.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPBody.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPHeaderVisitor.
h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPHeaderVisitor.
h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebKitClient.h" |
32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" |
33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginParams.h" |
34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h" |
36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoader.h" |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 39 #include "ui/gfx/rect.h" |
40 #include "webkit/appcache/web_application_cache_host_impl.h" | 40 #include "webkit/appcache/web_application_cache_host_impl.h" |
41 #include "webkit/glue/multipart_response_delegate.h" | 41 #include "webkit/glue/multipart_response_delegate.h" |
42 #include "webkit/plugins/npapi/plugin_host.h" | 42 #include "webkit/plugins/npapi/plugin_host.h" |
43 #include "webkit/plugins/npapi/plugin_instance.h" | 43 #include "webkit/plugins/npapi/plugin_instance.h" |
44 #include "webkit/plugins/npapi/webplugin_delegate.h" | 44 #include "webkit/plugins/npapi/webplugin_delegate.h" |
45 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 45 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
46 | 46 |
47 using appcache::WebApplicationCacheHostImpl; | 47 using appcache::WebApplicationCacheHostImpl; |
48 using WebKit::WebCanvas; | 48 using WebKit::WebCanvas; |
49 using WebKit::WebConsoleMessage; | 49 using WebKit::WebConsoleMessage; |
(...skipping 1337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1387 if (!webframe_) | 1387 if (!webframe_) |
1388 return NULL; | 1388 return NULL; |
1389 WebView* view = webframe_->view(); | 1389 WebView* view = webframe_->view(); |
1390 if (!view) | 1390 if (!view) |
1391 return NULL; | 1391 return NULL; |
1392 return view->devToolsAgent(); | 1392 return view->devToolsAgent(); |
1393 } | 1393 } |
1394 | 1394 |
1395 } // namespace npapi | 1395 } // namespace npapi |
1396 } // namespace webkit | 1396 } // namespace webkit |
OLD | NEW |