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

Side by Side Diff: third_party/WebKit/Source/core/xml/XSLTProcessor.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) 2008, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2010 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 13 matching lines...) Expand all
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 // There is no spec for XSLTProcessor. It was first implemented in Gecko and 29 // There is no spec for XSLTProcessor. It was first implemented in Gecko and
30 // their interface definition remains the closest thing to a spec: 30 // their interface definition remains the closest thing to a spec:
31 // https://hg.mozilla.org/mozilla-central/file/012853bd80b7/dom/webidl/XSLTProce ssor.webidl 31 // https://hg.mozilla.org/mozilla-central/file/012853bd80b7/dom/webidl/XSLTProce ssor.webidl
32 32
33 [ 33 [
34 GarbageCollected,
35 Constructor, 34 Constructor,
36 ConstructorCallWith=Document, 35 ConstructorCallWith=Document,
37 RuntimeEnabled=XSLT, 36 RuntimeEnabled=XSLT,
38 MeasureAs=XSLTProcessor, 37 MeasureAs=XSLTProcessor,
39 ] interface XSLTProcessor { 38 ] interface XSLTProcessor {
40 39
41 void importStylesheet(Node style); 40 void importStylesheet(Node style);
42 // TODO(philipj): In Gecko, the transformTo*() methods throw an exception in 41 // TODO(philipj): In Gecko, the transformTo*() methods throw an exception in
43 // case of error instead of returning null. 42 // case of error instead of returning null.
44 [CustomElementCallbacks] DocumentFragment? transformToFragment(Node source, Document output); 43 [CustomElementCallbacks] DocumentFragment? transformToFragment(Node source, Document output);
45 [CustomElementCallbacks] Document? transformToDocument(Node source); 44 [CustomElementCallbacks] Document? transformToDocument(Node source);
46 45
47 // TODO(philipj): In Gecko, it's possible to set and get back any parameter 46 // TODO(philipj): In Gecko, it's possible to set and get back any parameter
48 // value, not just DOMString. 47 // value, not just DOMString.
49 void setParameter(DOMString? namespaceURI, DOMString localName, DOMString va lue); 48 void setParameter(DOMString? namespaceURI, DOMString localName, DOMString va lue);
50 DOMString? getParameter(DOMString? namespaceURI, DOMString localName); 49 DOMString? getParameter(DOMString? namespaceURI, DOMString localName);
51 void removeParameter(DOMString? namespaceURI, DOMString localName); 50 void removeParameter(DOMString? namespaceURI, DOMString localName);
52 void clearParameters(); 51 void clearParameters();
53 52
54 void reset(); 53 void reset();
55 54
56 }; 55 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698