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

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

Issue 2628683003: Add DidSaveScrollOrScaleState flag to prevent restoreScrollPositionAndViewState restore from default (Closed)
Patch Set: remove checkComplete call in loadInSameDocument 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..6df274750f05cefbe9a5394250eaa93330ec0628 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);
bool shouldContinueForNavigationPolicy(const ResourceRequest&,
const SubstituteData&,

Powered by Google App Engine
This is Rietveld 408576698