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

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: minor 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/frame/StateOptions.idl
diff --git a/Source/modules/notifications/GetNotificationOptions.idl b/Source/core/frame/StateOptions.idl
similarity index 51%
copy from Source/modules/notifications/GetNotificationOptions.idl
copy to Source/core/frame/StateOptions.idl
index 7ed11aaa37b4cbfe28ddabed476bd21526da63af..f4e247036cc83162b61e36988b73603be6f9e0ea 100644
--- a/Source/modules/notifications/GetNotificationOptions.idl
+++ b/Source/core/frame/StateOptions.idl
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// https://notifications.spec.whatwg.org/#service-worker-api
+// Spec work is being tracked on W3C bug: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28553
-dictionary GetNotificationOptions {
- DOMString tag = "";
+dictionary StateOptions {
+ boolean willRestoreScroll = false;
};

Powered by Google App Engine
This is Rietveld 408576698