Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(583)

Unified Diff: components/test_runner/web_frame_test_client.h

Issue 2655143002: Drop replacesCurrentHistoryItem, NavigationType (Closed)
Patch Set: More compile fixes Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_frame_test_client.h
diff --git a/components/test_runner/web_frame_test_client.h b/components/test_runner/web_frame_test_client.h
index 27cb35a42391cdbb098934ddb9f723c5a1cb009c..1d5e6faa24ced5a598b8fd3cc6283de61ab1f6bd 100644
--- a/components/test_runner/web_frame_test_client.h
+++ b/components/test_runner/web_frame_test_client.h
@@ -59,16 +59,18 @@ class WebFrameTestClient : public blink::WebFrameClient {
void loadURLExternally(const blink::WebURLRequest& request,
blink::WebNavigationPolicy policy,
const blink::WebString& suggested_name,
- bool replaces_current_history_item) override;
+ blink::WebFrameLoadType load_type) override;
void loadErrorPage(int reason) override;
- void didStartProvisionalLoad(blink::WebLocalFrame* frame) override;
+ void didStartProvisionalLoad(blink::WebDataSource* data_source,
+ blink::WebFrameLoadType load_type) override;
void didReceiveServerRedirectForProvisionalLoad(
blink::WebLocalFrame* frame) override;
void didFailProvisionalLoad(blink::WebLocalFrame* frame,
const blink::WebURLError& error,
blink::WebHistoryCommitType commit_type) override;
void didCommitProvisionalLoad(
- blink::WebLocalFrame* frame,
+ blink::WebDataSource* data_source,
+ blink::WebFrameLoadType load_type,
const blink::WebHistoryItem& history_item,
blink::WebHistoryCommitType history_type) override;
void didReceiveTitle(blink::WebLocalFrame* frame,
@@ -82,7 +84,8 @@ class WebFrameTestClient : public blink::WebFrameClient {
const blink::WebURLError& error,
blink::WebHistoryCommitType commit_type) override;
void didFinishLoad(blink::WebLocalFrame* frame) override;
- void didNavigateWithinPage(blink::WebLocalFrame* frame,
+ void didNavigateWithinPage(blink::WebDataSource* data_source,
+ blink::WebFrameLoadType load_type,
const blink::WebHistoryItem& history_item,
blink::WebHistoryCommitType commit_type,
bool contentInitiated) override;
@@ -92,7 +95,8 @@ class WebFrameTestClient : public blink::WebFrameClient {
bool did_block_entire_page) override;
void didDispatchPingLoader(const blink::WebURL& url) override;
void willSendRequest(blink::WebLocalFrame* frame,
- blink::WebURLRequest& request) override;
+ blink::WebURLRequest& request,
+ blink::WebFrameLoadType load_type) override;
void didReceiveResponse(const blink::WebURLResponse& response) override;
blink::WebNavigationPolicy decidePolicyForNavigation(
const blink::WebFrameClient::NavigationPolicyInfo& info) override;
« no previous file with comments | « chrome/renderer/loadtimes_extension_bindings.cc ('k') | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698