Index: components/test_runner/web_frame_test_proxy.h |
diff --git a/components/test_runner/web_frame_test_proxy.h b/components/test_runner/web_frame_test_proxy.h |
index 82a193c97a89cba95723e096e3e5262afb4567da..f072f9ac6b55b18ebdf2f35a56894794ad316ea4 100644 |
--- a/components/test_runner/web_frame_test_proxy.h |
+++ b/components/test_runner/web_frame_test_proxy.h |
@@ -163,6 +163,16 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase { |
test_client()->didFinishLoad(frame); |
} |
+ void didNavigateWithinPage(blink::WebLocalFrame* frame, |
+ const blink::WebHistoryItem& history_item, |
+ blink::WebHistoryCommitType commit_type, |
+ bool content_initiated) override { |
+ Base::didNavigateWithinPage(frame, history_item, commit_type, |
+ content_initiated); |
+ test_client()->didNavigateWithinPage(frame, history_item, commit_type, |
+ content_initiated); |
+ } |
+ |
void didStopLoading() override { |
Base::didStopLoading(); |
test_client()->didStopLoading(); |
@@ -263,6 +273,11 @@ class WebFrameTestProxy : public Base, public WebFrameTestProxyBase { |
return Base::decidePolicyForNavigation(info); |
} |
+ void didStartLoading(bool to_different_document) override { |
+ Base::didStartLoading(to_different_document); |
+ test_client()->didStartLoading(to_different_document); |
+ } |
+ |
void willStartUsingPeerConnectionHandler( |
blink::WebRTCPeerConnectionHandler* handler) override { |
// RenderFrameImpl::willStartUsingPeerConnectionHandler can not be mocked. |