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

Unified Diff: Source/core/loader/FrameLoaderTypes.h

Issue 927213004: Accept options in history APIs to allow scroll restoration to be disabled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Change bool to enum Created 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/loader/FrameLoaderTypes.h
diff --git a/Source/core/loader/FrameLoaderTypes.h b/Source/core/loader/FrameLoaderTypes.h
index ddad88a59657c23fdba4b585fda1cb04f28c0d00..49ea81c81e5c4856861e978978799ae12e910021 100644
--- a/Source/core/loader/FrameLoaderTypes.h
+++ b/Source/core/loader/FrameLoaderTypes.h
@@ -91,6 +91,11 @@ enum HistoryCommitType {
HistoryInertCommit
};
+enum HistoryScrollRestorationType {
+ ScrollRestorationAuto,
+ ScrollRestorationManual
+};
+
}
#endif

Powered by Google App Engine
This is Rietveld 408576698