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

Unified Diff: Source/core/frame/StateOptions.idl

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: rebase 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
« no previous file with comments | « Source/core/frame/History.idl ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/StateOptions.idl
diff --git a/Source/core/frame/StateOptions.idl b/Source/core/frame/StateOptions.idl
new file mode 100644
index 0000000000000000000000000000000000000000..cb9315b5e6807dd66cb68fd04c9ee8bcad13f153
--- /dev/null
+++ b/Source/core/frame/StateOptions.idl
@@ -0,0 +1,11 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Spec work is being tracked on W3C bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28553
+
+enum ScrollRestoration {"auto", "manual"};
+
+dictionary StateOptions {
+ ScrollRestoration scrollRestoration = "auto";
+};
« no previous file with comments | « Source/core/frame/History.idl ('k') | Source/core/loader/FrameLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698