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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoader.h

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: Nate's Comment addressed 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
Index: third_party/WebKit/Source/core/loader/FrameLoader.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.h b/third_party/WebKit/Source/core/loader/FrameLoader.h
index be92d674fa823fa97707c9c8c20f598a79e62151..c2a4b2557b690dc8346581ada08c527498b51b0d 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -203,6 +203,7 @@ class CORE_EXPORT FrameLoader final {
void saveScrollState();
void restoreScrollPositionAndViewState();
+ void setScrollFromNavigation(LoadStartType = NavigationToDifferentDocument);
majidvp 2017/01/24 21:53:52 The default argument here does not see worth the r
bool shouldContinueForNavigationPolicy(const ResourceRequest&,
const SubstituteData&,

Powered by Google App Engine
This is Rietveld 408576698