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

Side by Side Diff: core/xml/XSLTProcessor.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 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
« no previous file with comments | « core/xml/XPathExpression.idl ('k') | core/xmlhttprequest/XMLHttpRequest.idl » ('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) 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 18 matching lines...) Expand all
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, 34 GarbageCollected,
35 Constructor, 35 Constructor,
36 ConstructorCallWith=Document, 36 ConstructorCallWith=Document,
37 RuntimeEnabled=XSLT, 37 RuntimeEnabled=XSLT,
38 MeasureAs=XSLTProcessor, 38 MeasureAs=XSLTProcessor,
39 TypeChecking=Interface,
40 ] interface XSLTProcessor { 39 ] interface XSLTProcessor {
41 40
42 void importStylesheet(Node style); 41 void importStylesheet(Node style);
43 // TODO(philipj): In Gecko, the transformTo*() methods throw an exception in 42 // TODO(philipj): In Gecko, the transformTo*() methods throw an exception in
44 // case of error instead of returning null. 43 // case of error instead of returning null.
45 [CustomElementCallbacks] DocumentFragment? transformToFragment(Node source, Document output); 44 [CustomElementCallbacks] DocumentFragment? transformToFragment(Node source, Document output);
46 [CustomElementCallbacks] Document? transformToDocument(Node source); 45 [CustomElementCallbacks] Document? transformToDocument(Node source);
47 46
48 // TODO(philipj): In Gecko, it's possible to set and get back any parameter 47 // TODO(philipj): In Gecko, it's possible to set and get back any parameter
49 // value, not just DOMString. 48 // value, not just DOMString.
50 void setParameter(DOMString? namespaceURI, DOMString localName, DOMString va lue); 49 void setParameter(DOMString? namespaceURI, DOMString localName, DOMString va lue);
51 DOMString? getParameter(DOMString? namespaceURI, DOMString localName); 50 DOMString? getParameter(DOMString? namespaceURI, DOMString localName);
52 void removeParameter(DOMString? namespaceURI, DOMString localName); 51 void removeParameter(DOMString? namespaceURI, DOMString localName);
53 void clearParameters(); 52 void clearParameters();
54 53
55 void reset(); 54 void reset();
56 55
57 }; 56 };
OLDNEW
« no previous file with comments | « core/xml/XPathExpression.idl ('k') | core/xmlhttprequest/XMLHttpRequest.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698