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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2661743002: PlzNavigate: Invoke didStartProvisionalLoad() when the renderer initiates a navigation in startLoad( (Closed)
Patch Set: Remove CHECK for redirect chain as the redirects may not be populated for provisional loads for ren… Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebFrameTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 virtual void willSendSubmitEvent(const WebFormElement&) {} 337 virtual void willSendSubmitEvent(const WebFormElement&) {}
338 338
339 // A form submission is about to occur. 339 // A form submission is about to occur.
340 virtual void willSubmitForm(const WebFormElement&) {} 340 virtual void willSubmitForm(const WebFormElement&) {}
341 341
342 // A datasource has been created for a new navigation. The given 342 // A datasource has been created for a new navigation. The given
343 // datasource will become the provisional datasource for the frame. 343 // datasource will become the provisional datasource for the frame.
344 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {} 344 virtual void didCreateDataSource(WebLocalFrame*, WebDataSource*) {}
345 345
346 // A new provisional load has been started. 346 // A new provisional load has been started.
347 virtual void didStartProvisionalLoad(WebLocalFrame* localFrame) {} 347 virtual void didStartProvisionalLoad(WebDataSource* dataSource) {}
348 348
349 // The provisional load was redirected via a HTTP 3xx response. 349 // The provisional load was redirected via a HTTP 3xx response.
350 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) {} 350 virtual void didReceiveServerRedirectForProvisionalLoad(WebLocalFrame*) {}
351 351
352 // The provisional load failed. The WebHistoryCommitType is the commit type 352 // The provisional load failed. The WebHistoryCommitType is the commit type
353 // that would have been used had the load succeeded. 353 // that would have been used had the load succeeded.
354 virtual void didFailProvisionalLoad(WebLocalFrame*, 354 virtual void didFailProvisionalLoad(WebLocalFrame*,
355 const WebURLError&, 355 const WebURLError&,
356 WebHistoryCommitType) {} 356 WebHistoryCommitType) {}
357 357
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 // Overwrites the given URL to use an HTML5 embed if possible. 752 // Overwrites the given URL to use an HTML5 embed if possible.
753 // An empty URL is returned if the URL is not overriden. 753 // An empty URL is returned if the URL is not overriden.
754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { 754 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) {
755 return WebURL(); 755 return WebURL();
756 } 756 }
757 }; 757 };
758 758
759 } // namespace blink 759 } // namespace blink
760 760
761 #endif 761 #endif
OLDNEW
« 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