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

Side by Side Diff: tools/dom/templates/html/dartium/cpp_implementation.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 #include "config.h" 7 #include "config.h"
8 #include "DartWebkitClassIds.h" 8 #include "DartWebkitClassIds.h"
9 #include "Dart$(INTERFACE).h" 9 #include "Dart$(INTERFACE).h"
10 10
11 $INCLUDES 11 $INCLUDES
12 namespace WebCore { 12 namespace WebCore {
13 13
14 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value) { 14 Dart_Handle $(WEBCORE_CLASS_NAME_ESCAPED)_toDart(PassRefPtr< $WEBCORE_CLASS_NAME > value) {
15 return Dart$INTERFACE::toDart(value); 15 return Dart$INTERFACE::toDart(value);
16 } 16 }
17 17
18 namespace Dart$(INTERFACE)Internal { 18 namespace Dart$(INTERFACE)Internal {
19 $CALLBACKS 19 $CALLBACKS
20 } 20 }
21 21
22 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum entCount) 22 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum entCount, bool* autoSetupScope)
23 { 23 {
24 String name = DartUtilities::toString(nameHandle); 24 String name = DartUtilities::toString(nameHandle);
25 25
26 $RESOLVER 26 $RESOLVER
27 return 0; 27 return 0;
28 } 28 }
29 29
30 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME NTATION_CLASS"; 30 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME NTATION_CLASS";
31 const int Dart$(INTERFACE)::dartImplementationLibraryId = $(DART_IMPLEMENTATION_ LIBRARY_ID); 31 const int Dart$(INTERFACE)::dartImplementationLibraryId = $(DART_IMPLEMENTATION_ LIBRARY_ID);
32 const int Dart$(INTERFACE)::dartClassId = $(INTERFACE)ClassId; 32 const int Dart$(INTERFACE)::dartClassId = $(INTERFACE)ClassId;
33 } 33 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/dartium/cpp_header.template ('k') | tools/dom/templates/html/dartium/cpp_resolver.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698