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

Unified Diff: Source/bindings/v8/V8BlinkInJavaScript.h

Issue 138223002: WIP: Implement binding layer for Blink-in-JavaScript Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/v8/DOMWrapperWorld.h ('k') | Source/bindings/v8/V8BlinkInJavaScript.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8BlinkInJavaScript.h
diff --git a/Source/bindings/v8/V8DOMActivityLogger.h b/Source/bindings/v8/V8BlinkInJavaScript.h
similarity index 81%
copy from Source/bindings/v8/V8DOMActivityLogger.h
copy to Source/bindings/v8/V8BlinkInJavaScript.h
index 93915a65f2c791225f9f9df01fd86d85b0ee4ea0..d909a3fe2d9c96fc5a4e40347dc14af2d003de76 100644
--- a/Source/bindings/v8/V8DOMActivityLogger.h
+++ b/Source/bindings/v8/V8BlinkInJavaScript.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 Google Inc. All rights reserved.
+ * Copyright (C) 2014 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -28,21 +28,19 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef V8DOMActivityLogger_h
-#define V8DOMActivityLogger_h
+#ifndef V8BlinkInJavaScript_h
+#define V8BlinkInJavaScript_h
#include <v8.h>
#include "wtf/text/WTFString.h"
namespace WebCore {
-class V8DOMActivityLogger {
+class V8BlinkInJavaScript {
public:
- virtual ~V8DOMActivityLogger() { }
-
- virtual void log(const String& apiName, int argc, const v8::Handle<v8::Value>* argv, const String& extraInfo) { }
+ static v8::Handle<v8::Value> runBlinkInJavaScript(String className, String functionName, v8::Handle<v8::Value> receiver, int argc, v8::Handle<v8::Value> argv[], v8::Isolate*);
};
} // namespace WebCore
-#endif // V8DOMActivityLogger_h
+#endif // V8BlinkInJavaScript_h
« no previous file with comments | « Source/bindings/v8/DOMWrapperWorld.h ('k') | Source/bindings/v8/V8BlinkInJavaScript.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698