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

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: Rebase and remove whitespace in Document.idl 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..0553695570180fc3664fad96d012dfd4d89e43f1 100644
--- a/third_party/WebKit/Source/core/dom/Document.idl
+++ b/third_party/WebKit/Source/core/dom/Document.idl
@@ -73,6 +73,10 @@ 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);
esprehn 2016/05/05 17:20:19 This doesn't match web platform conventions. The w
bokan 2016/05/05 21:19:48 Acknowledged.
+ [RuntimeEnabled=SetRootScroller] readonly attribute Element? rootScroller;
+
// 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