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

Side by Side Diff: Source/WebCore/bindings/dart/custom/DartXSLTProcessorCustom.cpp

Issue 9420050: Remove hand-written implementations of constructors. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 8 years, 10 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
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « Source/WebCore/bindings/dart/custom/DartFileReaderCustom.cpp ('k') | Source/WebCore/bindings/dart/gyp/overrides.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698