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

Side by Side Diff: Source/bindings/dart/DartHandleProxy.h

Issue 18169002: Improve Dart Debugger performance and robustness by creating Dart wrappers using the standard SetNa… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Code review fixes Created 7 years, 5 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 | « Source/bindings/dart/DartDebugServer.cpp ('k') | Source/bindings/dart/DartHandleProxy.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. 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 19 matching lines...) Expand all
30 30
31 #ifndef DartHandleProxy_h 31 #ifndef DartHandleProxy_h
32 #define DartHandleProxy_h 32 #define DartHandleProxy_h
33 33
34 #include <dart_api.h> 34 #include <dart_api.h>
35 #include <dart_mirrors_api.h> 35 #include <dart_mirrors_api.h>
36 #include <v8.h> 36 #include <v8.h>
37 37
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class Node;
41
40 class DartHandleProxy { 42 class DartHandleProxy {
41 public: 43 public:
42 static v8::Handle<v8::Value> create(Dart_Handle value); 44 static v8::Handle<v8::Value> create(Dart_Handle value);
43 static v8::Handle<v8::Value> createForLibrary(intptr_t libraryId); 45 static v8::Handle<v8::Value> createTypeProxy(Dart_Handle value, bool showSta tics);
44 static void getMirrorAPI(v8::Handle<v8::Object> container); 46 static v8::Handle<v8::Value> createLibraryProxy(Dart_Handle value, int32_t l ibraryId, Dart_Handle prefix);
47 static v8::Handle<v8::Value> createLocalScopeProxy(Dart_Handle localVariable s);
48
49 static bool isDartProxy(v8::Handle<v8::Value>);
50 static const char* getJavaScriptType(v8::Handle<v8::Value>);
51 static Node* toNativeNode(v8::Handle<v8::Value>);
45 }; 52 };
46 53
47 } 54 }
48 55
49 #endif // DartHandleProxy_h 56 #endif // DartHandleProxy_h
OLDNEW
« no previous file with comments | « Source/bindings/dart/DartDebugServer.cpp ('k') | Source/bindings/dart/DartHandleProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698