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

Side by Side Diff: third_party/WebKit/Source/core/dom/Document.idl

Issue 1970763002: Fixed up root scroller API to be more webby (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType); 70 [NewObject, RaisesException, CallWith=ExecutionContext] Event createEvent(DO MString eventType);
71 71
72 [NewObject] Range createRange(); 72 [NewObject] Range createRange();
73 73
74 // NodeFilter.SHOW_ALL = 0xFFFFFFFF 74 // NodeFilter.SHOW_ALL = 0xFFFFFFFF
75 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 75 [NewObject] NodeIterator createNodeIterator(Node root, optional unsigned lon g whatToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
76 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null); 76 [NewObject] TreeWalker createTreeWalker(Node root, optional unsigned long wh atToShow = 0xFFFFFFFF, optional NodeFilter? filter = null);
77 77
78 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r) 78 // NonDocumentRootScroller (https://github.com/bokand/NonDocumentRootScrolle r)
79 [RuntimeEnabled=SetRootScroller, RaisesException] void setRootScroller (Elem ent element); 79 [RaisesException=Setter, RuntimeEnabled=SetRootScroller] attribute Element? rootScroller;
80 [RuntimeEnabled=SetRootScroller] readonly attribute Element? rootScroller;
81 80
82 // FIXME: CDATASection has been removed from the spec. crbug.com/437205 81 // FIXME: CDATASection has been removed from the spec. crbug.com/437205
83 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data); 82 [RaisesException, MeasureAs=DocumentCreateCDATASection] CDATASection createC DATASection(DOMString data);
84 83
85 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec. 84 // FIXME: xmlEncoding/xmlVersion/xmlStandalone have been removed from the sp ec.
86 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding; 85 [MeasureAs=DocumentXMLEncoding] readonly attribute DOMString? xmlEncoding;
87 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion; 86 [RaisesException=Setter, MeasureAs=DocumentXMLVersion] attribute DOMString? xmlVersion;
88 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone; 87 [RaisesException=Setter, MeasureAs=DocumentXMLStandalone] attribute boolean xmlStandalone;
89 88
90 // HTML 89 // HTML
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 219 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
221 attribute EventHandler onselectionchange; 220 attribute EventHandler onselectionchange;
222 attribute EventHandler onselectstart; 221 attribute EventHandler onselectstart;
223 attribute EventHandler onwheel; 222 attribute EventHandler onwheel;
224 }; 223 };
225 224
226 Document implements GlobalEventHandlers; 225 Document implements GlobalEventHandlers;
227 Document implements ParentNode; 226 Document implements ParentNode;
228 Document implements NonElementParentNode; 227 Document implements NonElementParentNode;
229 Document implements DocumentOrShadowRoot; 228 Document implements DocumentOrShadowRoot;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698