| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "Chrome.h" | 7 #include "Chrome.h" |
| 8 #include "CString.h" | 8 #include "CString.h" |
| 9 #include "Document.h" | 9 #include "Document.h" |
| 10 #include "DocumentLoader.h" | 10 #include "DocumentLoader.h" |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "net/base/net_errors.h" | 28 #include "net/base/net_errors.h" |
| 29 #include "webkit/api/public/WebForm.h" | 29 #include "webkit/api/public/WebForm.h" |
| 30 #include "webkit/api/public/WebFrameClient.h" | 30 #include "webkit/api/public/WebFrameClient.h" |
| 31 #include "webkit/api/public/WebNode.h" | 31 #include "webkit/api/public/WebNode.h" |
| 32 #include "webkit/api/public/WebPlugin.h" | 32 #include "webkit/api/public/WebPlugin.h" |
| 33 #include "webkit/api/public/WebPluginParams.h" | 33 #include "webkit/api/public/WebPluginParams.h" |
| 34 #include "webkit/api/public/WebSecurityOrigin.h" | 34 #include "webkit/api/public/WebSecurityOrigin.h" |
| 35 #include "webkit/api/public/WebURL.h" | 35 #include "webkit/api/public/WebURL.h" |
| 36 #include "webkit/api/public/WebURLError.h" | 36 #include "webkit/api/public/WebURLError.h" |
| 37 #include "webkit/api/public/WebVector.h" | 37 #include "webkit/api/public/WebVector.h" |
| 38 #include "webkit/api/public/WebViewClient.h" |
| 38 #include "webkit/api/src/WebDataSourceImpl.h" | 39 #include "webkit/api/src/WebDataSourceImpl.h" |
| 39 #include "webkit/api/src/WebPluginContainerImpl.h" | 40 #include "webkit/api/src/WebPluginContainerImpl.h" |
| 40 #include "webkit/api/src/WebPluginLoadObserver.h" | 41 #include "webkit/api/src/WebPluginLoadObserver.h" |
| 41 #include "webkit/api/src/WrappedResourceRequest.h" | 42 #include "webkit/api/src/WrappedResourceRequest.h" |
| 42 #include "webkit/api/src/WrappedResourceResponse.h" | 43 #include "webkit/api/src/WrappedResourceResponse.h" |
| 43 #include "webkit/glue/glue_util.h" | 44 #include "webkit/glue/glue_util.h" |
| 44 #include "webkit/glue/webdevtoolsagent_impl.h" | 45 #include "webkit/glue/webdevtoolsagent_impl.h" |
| 45 #include "webkit/glue/webframe_impl.h" | 46 #include "webkit/glue/webframe_impl.h" |
| 46 #include "webkit/glue/webframeloaderclient_impl.h" | 47 #include "webkit/glue/webframeloaderclient_impl.h" |
| 47 #include "webkit/glue/webkit_glue.h" | 48 #include "webkit/glue/webkit_glue.h" |
| (...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1311 WebViewImpl* webview = webframe_->GetWebViewImpl(); | 1312 WebViewImpl* webview = webframe_->GetWebViewImpl(); |
| 1312 if (webview->client()) | 1313 if (webview->client()) |
| 1313 webview->client()->navigateBackForwardSoon(offset); | 1314 webview->client()->navigateBackForwardSoon(offset); |
| 1314 } | 1315 } |
| 1315 | 1316 |
| 1316 PassOwnPtr<WebPluginLoadObserver> WebFrameLoaderClient::GetPluginLoadObserver()
{ | 1317 PassOwnPtr<WebPluginLoadObserver> WebFrameLoaderClient::GetPluginLoadObserver()
{ |
| 1317 WebDataSourceImpl* ds = WebDataSourceImpl::fromDocumentLoader( | 1318 WebDataSourceImpl* ds = WebDataSourceImpl::fromDocumentLoader( |
| 1318 webframe_->frame()->loader()->activeDocumentLoader()); | 1319 webframe_->frame()->loader()->activeDocumentLoader()); |
| 1319 return ds->releasePluginLoadObserver(); | 1320 return ds->releasePluginLoadObserver(); |
| 1320 } | 1321 } |
| OLD | NEW |