| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "web/WebRemoteFrameImpl.h" | 6 #include "web/WebRemoteFrameImpl.h" |
| 7 | 7 |
| 8 #include "core/frame/FrameOwner.h" | 8 #include "core/frame/FrameOwner.h" |
| 9 #include "core/frame/RemoteFrame.h" | 9 #include "core/frame/RemoteFrame.h" |
| 10 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
| (...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 ASSERT_NOT_REACHED(); | 387 ASSERT_NOT_REACHED(); |
| 388 } | 388 } |
| 389 | 389 |
| 390 void WebRemoteFrameImpl::loadHTMLString( | 390 void WebRemoteFrameImpl::loadHTMLString( |
| 391 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL, | 391 const WebData& html, const WebURL& baseURL, const WebURL& unreachableURL, |
| 392 bool replace) | 392 bool replace) |
| 393 { | 393 { |
| 394 ASSERT_NOT_REACHED(); | 394 ASSERT_NOT_REACHED(); |
| 395 } | 395 } |
| 396 | 396 |
| 397 bool WebRemoteFrameImpl::isLoading() const | |
| 398 { | |
| 399 ASSERT_NOT_REACHED(); | |
| 400 return false; | |
| 401 } | |
| 402 | |
| 403 void WebRemoteFrameImpl::stopLoading() | 397 void WebRemoteFrameImpl::stopLoading() |
| 404 { | 398 { |
| 405 ASSERT_NOT_REACHED(); | 399 ASSERT_NOT_REACHED(); |
| 406 } | 400 } |
| 407 | 401 |
| 408 WebDataSource* WebRemoteFrameImpl::provisionalDataSource() const | 402 WebDataSource* WebRemoteFrameImpl::provisionalDataSource() const |
| 409 { | 403 { |
| 410 ASSERT_NOT_REACHED(); | 404 ASSERT_NOT_REACHED(); |
| 411 return 0; | 405 return 0; |
| 412 } | 406 } |
| (...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 | 828 |
| 835 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) | 829 WebRemoteFrameImpl* WebRemoteFrameImpl::fromFrame(RemoteFrame& frame) |
| 836 { | 830 { |
| 837 if (!frame.client()) | 831 if (!frame.client()) |
| 838 return 0; | 832 return 0; |
| 839 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); | 833 return static_cast<RemoteFrameClient*>(frame.client())->webFrame(); |
| 840 } | 834 } |
| 841 | 835 |
| 842 } // namespace blink | 836 } // namespace blink |
| 843 | 837 |
| OLD | NEW |