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

Side by Side Diff: third_party/WebKit/Source/core/xml/XPathEvaluator.idl

Issue 1873323002: Have bindings layer assume and insist that all interface types are GCed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details. 12 * Library General Public License for more details.
13 * 13 *
14 * You should have received a copy of the GNU Library General Public License 14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to 15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA. 17 * Boston, MA 02110-1301, USA.
18 */ 18 */
19 19
20 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator 20 // http://www.w3.org/TR/DOM-Level-3-XPath/xpath.html#XPathEvaluator
21 21
22 // Note: The spec says "the XPathEvaluator interface will be implemented on the 22 // Note: The spec says "the XPathEvaluator interface will be implemented on the
23 // same object which implements the Document interface" and does not define a 23 // same object which implements the Document interface" and does not define a
24 // constructor or other means to create an XPathEvaluator object. Nonetheless, 24 // constructor or other means to create an XPathEvaluator object. Nonetheless,
25 // Blink, Gecko, Presto, WebKit and all have these APIs on both Document and the 25 // Blink, Gecko, Presto, WebKit and all have these APIs on both Document and the
26 // constructable XPathEvaluator interface. 26 // constructable XPathEvaluator interface.
27 27
28 [ 28 [
29 Constructor, 29 Constructor,
30 GarbageCollected,
31 Measure, 30 Measure,
32 ] interface XPathEvaluator { 31 ] interface XPathEvaluator {
33 [Measure, RaisesException] XPathExpression createExpression(DOMString expres sion, optional XPathNSResolver? resolver = null); 32 [Measure, RaisesException] XPathExpression createExpression(DOMString expres sion, optional XPathNSResolver? resolver = null);
34 33
35 [Measure] XPathNSResolver createNSResolver(Node nodeResolver); 34 [Measure] XPathNSResolver createNSResolver(Node nodeResolver);
36 35
37 [Measure, RaisesException] XPathResult evaluate(DOMString expression, Node c ontextNode, optional XPathNSResolver? resolver = null, optional unsigned short t ype = 0, optional object? inResult = null); 36 [Measure, RaisesException] XPathResult evaluate(DOMString expression, Node c ontextNode, optional XPathNSResolver? resolver = null, optional unsigned short t ype = 0, optional object? inResult = null);
38 }; 37 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/xml/XMLSerializer.idl ('k') | third_party/WebKit/Source/core/xml/XPathExpression.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698