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

Side by Side 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, 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName); 66 [NewObject, RaisesException, MeasureAs=DocumentCreateAttributeNS] Attr creat eAttributeNS(DOMString? namespaceURI, DOMString qualifiedName);
67 67
68 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType); 68 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType);
69 69
70 [NewObject] Range createRange(); 70 [NewObject] Range createRange();
71 71
72 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 72 // NodeFilter.SHOW_ALL = 0xFFFFFFFF
73 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 73 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
74 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 74 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
75 75
76 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r)
77 [RuntimeEnabled=SetRootScroller, RaisesException] void setRootScroller (Elem ent element);
78 [RuntimeEnabled=SetRootScroller] readonly attribute Element? rootScroller;
79
80
bokan 2016/04/27 19:02:03 Noticed this extra line - will remove in next patc
76 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 81 // FIXME: CDATASection has been removed from the spec. crbug.com/437205
77 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); 82 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data);
78 83
79 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. 84 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec.
80 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; 85 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding;
81 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; 86 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion;
82 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; 87 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone;
83 88
84 // HTML 89 // HTML
85 // https://html.spec.whatwg.org/#the-document-object 90 // https://html.spec.whatwg.org/#the-document-object
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
215 attribute EventHandler onselectionchange; 220 attribute EventHandler onselectionchange;
216 attribute EventHandler onselectstart; 221 attribute EventHandler onselectstart;
217 attribute EventHandler onwheel; 222 attribute EventHandler onwheel;
218 }; 223 };
219 224
220 Document implements GlobalEventHandlers; 225 Document implements GlobalEventHandlers;
221 Document implements ParentNode; 226 Document implements ParentNode;
222 Document implements NonElementParentNode; 227 Document implements NonElementParentNode;
223 Document implements DocumentOrShadowRoot; 228 Document implements DocumentOrShadowRoot;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698