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

Side by Side Diff: Source/core/dom/Element.idl

Issue 257913002: Move querySelector*() API to ParentNode.idl (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/DocumentFragment.idl ('k') | Source/core/dom/ParentNode.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element); 98 [RaisesException, CustomElementCallbacks, MeasureAs=InsertAdjacentElement] E lement insertAdjacentElement(DOMString where, Element element);
99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text); 99 [RaisesException, MeasureAs=InsertAdjacentText] void insertAdjacentText(DOMS tring where, DOMString text);
100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html); 100 [CustomElementCallbacks, RaisesException, MeasureAs=InsertAdjacentHTML] void insertAdjacentHTML(DOMString where, DOMString html);
101 101
102 [Reflect=class, PerWorldBindings] attribute DOMString className; 102 [Reflect=class, PerWorldBindings] attribute DOMString className;
103 [PerWorldBindings] readonly attribute DOMTokenList classList; 103 [PerWorldBindings] readonly attribute DOMTokenList classList;
104 104
105 [PerWorldBindings] readonly attribute DOMStringMap dataset; 105 [PerWorldBindings] readonly attribute DOMStringMap dataset;
106 106
107 // NodeSelector - Selector API
108 [RaisesException] Element querySelector(DOMString selectors);
109 [RaisesException] NodeList querySelectorAll(DOMString selectors);
110
111 // WebKit extension 107 // WebKit extension
112 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors); 108 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors);
113 109
114 // Shadow DOM API 110 // Shadow DOM API
115 [RaisesException] ShadowRoot createShadowRoot(); 111 [RaisesException] ShadowRoot createShadowRoot();
116 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 112 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
117 [PerWorldBindings] NodeList getDestinationInsertionPoints(); 113 [PerWorldBindings] NodeList getDestinationInsertionPoints();
118 114
119 // CSSOM View Module API 115 // CSSOM View Module API
120 ClientRectList getClientRects(); 116 ClientRectList getClientRects();
(...skipping 21 matching lines...) Expand all
142 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 138 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
143 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
144 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
145 attribute EventHandler onwebkitfullscreenchange; 141 attribute EventHandler onwebkitfullscreenchange;
146 attribute EventHandler onwebkitfullscreenerror; 142 attribute EventHandler onwebkitfullscreenerror;
147 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; 143 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel;
148 }; 144 };
149 145
150 Element implements ParentNode; 146 Element implements ParentNode;
151 Element implements ChildNode; 147 Element implements ChildNode;
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentFragment.idl ('k') | Source/core/dom/ParentNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698