Index: third_party/WebKit/Source/platform/v8_inspector/V8Console.h |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Console.h b/third_party/WebKit/Source/platform/v8_inspector/V8Console.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5ad8bec842a41e6190ca5e1439e068b2b3575aa8 |
--- /dev/null |
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Console.h |
@@ -0,0 +1,48 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef V8Console_h |
+#define V8Console_h |
+ |
+#include <v8.h> |
+ |
+namespace blink { |
+ |
+class V8DebuggerClient; |
+ |
+// Console API |
+// https://console.spec.whatwg.org/#console-interface |
+class V8Console { |
+public: |
+ static v8::Local<v8::Object> create(v8::Local<v8::Context>, V8DebuggerClient*); |
+ |
+ static void debugCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void errorCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void infoCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void logCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void warnCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void dirCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void dirxmlCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void tableCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void traceCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void groupCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void groupCollapsedCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void groupEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void clearCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void countCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void assertCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void markTimelineCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void profileCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void profileEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void timelineCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void timelineEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void timeCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void timeEndCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void timeStampCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+ static void memoryGetterCallback(const v8::FunctionCallbackInfo<v8::Value>&); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // V8Console_h |