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

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

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: revert test 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..495a82b0f0dc9d2a5e3925fc934de1901e49af5c 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoader.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoader.h
@@ -203,6 +203,8 @@ class CORE_EXPORT FrameLoader final {
void saveScrollState();
void restoreScrollPositionAndViewState();
+ void setScrollFromNavigation(const KURL* = nullptr,
+ LoadStartType = NavigationToDifferentDocument);
bool shouldContinueForNavigationPolicy(const ResourceRequest&,
const SubstituteData&,

Powered by Google App Engine
This is Rietveld 408576698