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

Side by Side Diff: Source/WebCore/bindings/dart/DartDOMWrapper.cpp

Issue 9350041: Switch to dartgenerator.py for C++ callbacks generation. (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 14 matching lines...) Expand all
25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 29
30 #include "config.h" 30 #include "config.h"
31 #include "DartDOMWrapper.h" 31 #include "DartDOMWrapper.h"
32 32
33 #include "CSSMutableStyleDeclaration.h" 33 #include "CSSMutableStyleDeclaration.h"
34 #include "DartCSSStyleDeclaration.h" 34 #include "DartCSSStyleDeclaration.h"
35 #include "DartDOMCoreException.h" 35 #include "DartDOMException.h"
36 #include "DartEventException.h" 36 #include "DartEventException.h"
37 #include "DartHTMLElement.h" 37 #include "DartHTMLElement.h"
38 #include "DartNode.h" 38 #include "DartNode.h"
39 #include "DartRangeException.h" 39 #include "DartRangeException.h"
40 #include "DartUtilities.h" 40 #include "DartUtilities.h"
41 #include "DartXMLHttpRequestException.h" 41 #include "DartXMLHttpRequestException.h"
42 #include "DartXPathException.h" 42 #include "DartXPathException.h"
43 #include "HTMLFormControlElement.h" 43 #include "HTMLFormControlElement.h"
44 44
45 #include <stdio.h> 45 #include <stdio.h>
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return toDartValue(static_cast<HTMLElement*>(value)); 159 return toDartValue(static_cast<HTMLElement*>(value));
160 } 160 }
161 161
162 Dart_Handle toDartValue(NPObject* object) 162 Dart_Handle toDartValue(NPObject* object)
163 { 163 {
164 // FIXME: put NPObjects into a map as well. 164 // FIXME: put NPObjects into a map as well.
165 return DartDOMWrapper::newWrapper("NPObject", object); 165 return DartDOMWrapper::newWrapper("NPObject", object);
166 } 166 }
167 167
168 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698