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

Unified Diff: Source/bindings/dart/DartInjectedScriptHost.h

Issue 24989007: Model each Dart library as its own ScriptState when devtools are enabled. (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/dart/DartHandleProxy.cpp ('k') | Source/bindings/dart/DartInjectedScriptHost.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/dart/DartInjectedScriptHost.h
diff --git a/Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp b/Source/bindings/dart/DartInjectedScriptHost.h
similarity index 84%
copy from Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp
copy to Source/bindings/dart/DartInjectedScriptHost.h
index 9cf8e518bf09078d0f6f9a1d1e8b8fc338cbe95d..8bd8cfc71eaf98f933f544f3b5eb8edd63b2eddb 100644
--- a/Source/bindings/dart/custom/DartWorkerCryptoCustom.cpp
+++ b/Source/bindings/dart/DartInjectedScriptHost.h
@@ -27,19 +27,18 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#include "config.h"
-#include "DartWorkerCrypto.h"
+#ifndef DartInjectedScriptHost_h
+#define DartInjectedScriptHost_h
-namespace WebCore {
+#include <v8.h>
-namespace DartWorkerCryptoInternal {
+namespace WebCore {
-void getRandomValuesCallback(Dart_NativeArguments)
-{
- // FIXME: proper implementation.
- DART_UNIMPLEMENTED();
-}
+class DartInjectedScriptHost {
+public:
+ static v8::Handle<v8::Value> evaluateIfDartContext(v8::Handle<v8::Object> v8InjectedScriptHost, v8::Handle<v8::String> expression);
+};
}
-}
+#endif // DartInjectedScriptHost_h
« no previous file with comments | « Source/bindings/dart/DartHandleProxy.cpp ('k') | Source/bindings/dart/DartInjectedScriptHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698