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

Side by Side Diff: client/dom/templates/dom/native/cpp_header.template

Issue 9565006: Add missing includes (spotted while splitting cpp derived sources). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 9 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 (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 "DartDOMWrapper.h" 10 #include "DartDOMWrapper.h"
11 $WEBCORE_INCLUDE 11 $WEBCORE_INCLUDES
12 $ADDITIONAL_INCLUDES
13 #include <dart_api.h> 12 #include <dart_api.h>
14 13
15 namespace WebCore { 14 namespace WebCore {
16 15
17 struct Dart$INTERFACE { 16 struct Dart$INTERFACE {
18 static const char* const dartImplementationClassName; 17 static const char* const dartImplementationClassName;
19 typedef $WEBCORE_CLASS_NAME NativeType; 18 typedef $WEBCORE_CLASS_NAME NativeType;
20 19
21 static PassRefPtr<NativeType> toNative(Dart_Handle handle, Dart_Handle& exce ption) 20 static PassRefPtr<NativeType> toNative(Dart_Handle handle, Dart_Handle& exce ption)
22 { 21 {
(...skipping 14 matching lines...) Expand all
37 return toDartValue(value.get()); 36 return toDartValue(value.get());
38 } 37 }
39 38
40 namespace Dart$(INTERFACE)Internal { 39 namespace Dart$(INTERFACE)Internal {
41 $DECLARATIONS 40 $DECLARATIONS
42 } 41 }
43 42
44 } 43 }
45 44
46 #endif // Dart$(INTERFACE)_h 45 #endif // Dart$(INTERFACE)_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698