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

Unified Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 1913843004: Implementing document.setRootScroller API for main thread scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@overscrollController
Patch Set: Fixing bad rebase Created 4 years, 8 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/dom/Document.idl
diff --git a/third_party/WebKit/Source/core/dom/Document.idl b/third_party/WebKit/Source/core/dom/Document.idl
index a5422d5bfb935262c2cac0e5cf2b6bfafba274da..70fbfd2227870fb1eb0bd4d90c2cc387f4970ec3 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -73,6 +73,11 @@ interface Document : Node {
[NewObject] NodeIterator createNodeIterator(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
[NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
+ // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScroller)
+ [RuntimeEnabled=SetRootScroller, RaisesException] void setRootScroller (Element element);
+ [RuntimeEnabled=SetRootScroller] readonly attribute Element? rootScroller;
+
+
bokan 2016/04/27 19:02:03 Noticed this extra line - will remove in next patc
// FIXME: CDATASection has been removed from the spec. crbug.com/437205
[RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createCDATASection(DOMString data);

Powered by Google App Engine
This is Rietveld 408576698