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

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

Issue 23819035: Give generatored bindings classes a field remembering an index into a cache of handles on the corre… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 7 years, 3 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
« no previous file with comments | « tools/dom/templates/html/dartium/cpp_header.template ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "Dart$(INTERFACE).h" 9 #include "Dart$(INTERFACE).h"
9 10
10 $INCLUDES 11 $INCLUDES
11 namespace WebCore { 12 namespace WebCore {
12 13
13 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) {
14 return Dart$INTERFACE::toDart(value); 15 return Dart$INTERFACE::toDart(value);
15 } 16 }
16 17
17 namespace Dart$(INTERFACE)Internal { 18 namespace Dart$(INTERFACE)Internal {
18 $CALLBACKS 19 $CALLBACKS
19 } 20 }
20 21
21 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum entCount) 22 Dart_NativeFunction Dart$(INTERFACE)::resolver(Dart_Handle nameHandle, int argum entCount)
22 { 23 {
23 String name = DartUtilities::toString(nameHandle); 24 String name = DartUtilities::toString(nameHandle);
24 25
25 $RESOLVER 26 $RESOLVER
26 return 0; 27 return 0;
27 } 28 }
28 29
29 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME NTATION_CLASS"; 30 const char* const Dart$(INTERFACE)::dartImplementationClassName = "$DART_IMPLEME NTATION_CLASS";
30 const char* const Dart$(INTERFACE)::dartImplementationLibraryName = "$DART_IMPLE MENTATION_LIBRARY"; 31 const char* const Dart$(INTERFACE)::dartImplementationLibraryName = "$DART_IMPLE MENTATION_LIBRARY";
31 32 const int Dart$(INTERFACE)::dartClassId = $(INTERFACE)ClassId;
32 } 33 }
OLDNEW
« no previous file with comments | « tools/dom/templates/html/dartium/cpp_header.template ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698