OLD | NEW |
1 // Copyright 2011, Google Inc. | 1 // Copyright 2011, Google Inc. |
2 // All rights reserved. | 2 // 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 are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * 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 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "DartXSLTProcessor.h" | 31 #include "DartXSLTProcessor.h" |
32 | 32 |
33 //#if ENABLE(XSLT) | 33 //#if ENABLE(XSLT) |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 namespace DartXSLTProcessorInternal { | 37 namespace DartXSLTProcessorInternal { |
38 | 38 |
39 void constructorCallback(Dart_NativeArguments args) | |
40 { | |
41 DartApiScope dartApiScope; | |
42 RefPtr<XSLTProcessor> xsltProcessor = XSLTProcessor::create(); | |
43 DartDOMWrapper::returnValue(args, xsltProcessor.get()); | |
44 } | |
45 | |
46 void importStylesheetCallback(Dart_NativeArguments) | 39 void importStylesheetCallback(Dart_NativeArguments) |
47 { | 40 { |
48 // FIXME: proper implementation. | 41 // FIXME: proper implementation. |
49 DART_UNIMPLEMENTED(); | 42 DART_UNIMPLEMENTED(); |
50 } | 43 } |
51 | 44 |
52 void transformToFragmentCallback(Dart_NativeArguments) | 45 void transformToFragmentCallback(Dart_NativeArguments) |
53 { | 46 { |
54 // FIXME: proper implementation. | 47 // FIXME: proper implementation. |
55 DART_UNIMPLEMENTED(); | 48 DART_UNIMPLEMENTED(); |
(...skipping 21 matching lines...) Expand all Loading... |
77 { | 70 { |
78 // FIXME: proper implementation. | 71 // FIXME: proper implementation. |
79 DART_UNIMPLEMENTED(); | 72 DART_UNIMPLEMENTED(); |
80 } | 73 } |
81 | 74 |
82 } | 75 } |
83 | 76 |
84 } | 77 } |
85 | 78 |
86 //#endif // ENABLE(XSLT) | 79 //#endif // ENABLE(XSLT) |
OLD | NEW |