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

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

Issue 1976573002: Only use pending navigation params for browser-initiated navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: consistency Created 4 years, 7 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 // WebHistoryCommitType is the commit type that would have been used had the 339 // WebHistoryCommitType is the commit type that would have been used had the
340 // load succeeded. 340 // load succeeded.
341 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi tType) { } 341 virtual void didFailLoad(WebLocalFrame*, const WebURLError&, WebHistoryCommi tType) { }
342 342
343 // The frame's document and all of its subresources succeeded to load. 343 // The frame's document and all of its subresources succeeded to load.
344 virtual void didFinishLoad(WebLocalFrame*) { } 344 virtual void didFinishLoad(WebLocalFrame*) { }
345 345
346 // The navigation resulted in no change to the documents within the page. 346 // The navigation resulted in no change to the documents within the page.
347 // For example, the navigation may have just resulted in scrolling to a 347 // For example, the navigation may have just resulted in scrolling to a
348 // named anchor or a PopState event may have been dispatched. 348 // named anchor or a PopState event may have been dispatched.
349 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType) { } 349 virtual void didNavigateWithinPage(WebLocalFrame*, const WebHistoryItem&, We bHistoryCommitType, bool contentInitiated) { }
350 350
351 // Called upon update to scroll position, document state, and other 351 // Called upon update to scroll position, document state, and other
352 // non-navigational events related to the data held by WebHistoryItem. 352 // non-navigational events related to the data held by WebHistoryItem.
353 // WARNING: This method may be called very frequently. 353 // WARNING: This method may be called very frequently.
354 virtual void didUpdateCurrentHistoryItem() { } 354 virtual void didUpdateCurrentHistoryItem() { }
355 355
356 // The frame's manifest has changed. 356 // The frame's manifest has changed.
357 virtual void didChangeManifest() { } 357 virtual void didChangeManifest() { }
358 358
359 // The frame's theme color has changed. 359 // The frame's theme color has changed.
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 // Mojo ---------------------------------------------------------------- 718 // Mojo ----------------------------------------------------------------
719 virtual ServiceRegistry* serviceRegistry() { return nullptr; } 719 virtual ServiceRegistry* serviceRegistry() { return nullptr; }
720 720
721 protected: 721 protected:
722 virtual ~WebFrameClient() { } 722 virtual ~WebFrameClient() { }
723 }; 723 };
724 724
725 } // namespace blink 725 } // namespace blink
726 726
727 #endif 727 #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