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

Side by Side Diff: tools/dom/templates/html/dartium/cpp_header.template

Issue 113913010: Add auto scope setup parameter to the native resolvers in preparation for (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 #ifndef Dart$(INTERFACE)_h 7 #ifndef Dart$(INTERFACE)_h
8 #define Dart$(INTERFACE)_h 8 #define Dart$(INTERFACE)_h
9 9
10 #include "bindings/dart/DartDOMWrapper.h" 10 #include "bindings/dart/DartDOMWrapper.h"
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 static Dart_Handle createWrapper(PassRefPtr< $WEBCORE_CLASS_NAME > value) 33 static Dart_Handle createWrapper(PassRefPtr< $WEBCORE_CLASS_NAME > value)
34 { 34 {
35 return createWrapper(value.get()); 35 return createWrapper(value.get());
36 } 36 }
37 static void returnToDart(Dart_NativeArguments args, PassRefPtr< $WEBCORE_CLA SS_NAME > value) 37 static void returnToDart(Dart_NativeArguments args, PassRefPtr< $WEBCORE_CLA SS_NAME > value)
38 { 38 {
39 return returnToDart(args, value.get()); 39 return returnToDart(args, value.get());
40 } 40 }
41 41
42 static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount); 42 static Dart_NativeFunction resolver(Dart_Handle name, int argumentCount, boo l* autoSetupScope);
43 }; 43 };
44 44
45 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value); 45 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value);
46 46
47 namespace Dart$(INTERFACE)Internal { 47 namespace Dart$(INTERFACE)Internal {
48 $DECLARATIONS 48 $DECLARATIONS
49 } 49 }
50 50
51 } 51 }
52 52
53 #endif // Dart$(INTERFACE)_h 53 #endif // Dart$(INTERFACE)_h
OLDNEW
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | tools/dom/templates/html/dartium/cpp_implementation.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698