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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 1371673002: Remove a bunch of provisionalDataSource() usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 7ad9298a21b259877a9c16a02bc23644743b415f..53e4f438a8213e899a5e599389fe79f4ca0f3c5d 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -254,21 +254,21 @@ public:
virtual void willSendSubmitEvent(WebLocalFrame*, const WebFormElement&) { }
// A form submission is about to occur.
- virtual void willSubmitForm(WebLocalFrame*, const WebFormElement&) { }
+ virtual void willSubmitForm(WebDataSource*, const WebFormElement&) {}
// A datasource has been created for a new navigation. The given
// datasource will become the provisional datasource for the frame.
virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) { }
// A new provisional load has been started.
- virtual void didStartProvisionalLoad(WebLocalFrame* localFrame, double triggeringEventTime) { }
+ virtual void didStartProvisionalLoad(WebDataSource*, double triggeringEventTime) {}
// The provisional load was redirected via a HTTP 3xx response.
virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) { }
// The provisional load failed. The WebHistoryCommitType is the commit type
// that would have been used had the load succeeded.
- virtual void didFailProvisionalLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommitType) { }
+ virtual void didFailProvisionalLoad(WebDataSource*, const WebURLError&, WebHistoryCommitType) {}
// The provisional datasource is now committed. The first part of the
// response body has been received, and the encoding of the response
@@ -301,7 +301,7 @@ public:
// The frame's document or one of its subresources failed to load. The
// WebHistoryCommitType is the commit type that would have been used had the
// load succeeded.
- virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommitType) { }
+ virtual void didFailLoad(WebDataSource*, const WebURLError&, WebHistoryCommitType) {}
// The frame's document and all of its subresources succeeded to load.
virtual void didFinishLoad(WebLocalFrame*) { }
@@ -408,8 +408,8 @@ public:
// made. If this request is the result of a redirect, then redirectResponse
// will be non-null and contain the response that triggered the redirect.
virtual void willSendRequest(
- WebLocalFrame*, unsigned identifier, WebURLRequest&,
- const WebURLResponse& redirectResponse) { }
+ WebDataSource*, unsigned identifier, WebURLRequest&,
+ const WebURLResponse& redirectResponse) {}
// Response headers have been received for the resource request given
// by identifier.
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698