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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h

Issue 1859293002: [DevTools] Move Console to v8_inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h
index 282ade571d04bce11bf538476783194d2d5a8d3a..c1f34c9c63e3abc6f63a9c7fc133cb25b5cd4554 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8DebuggerClient.h
@@ -6,6 +6,8 @@
#define V8DebuggerClient_h
#include "platform/PlatformExport.h"
+#include "platform/v8_inspector/public/ConsoleAPITypes.h"
+#include "platform/v8_inspector/public/ConsoleTypes.h"
#include "platform/v8_inspector/public/V8ContextInfo.h"
#include "platform/v8_inspector/public/V8EventListenerInfo.h"
@@ -28,6 +30,19 @@ public:
virtual bool formatAccessorsAsProperties(v8::Local<v8::Value>) = 0;
virtual bool isExecutionAllowed() = 0;
virtual double currentTimeMS() = 0;
+
+ virtual void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const v8::FunctionCallbackInfo<v8::Value>& arguments, unsigned skipArgumentCount) = 0;
+ virtual void reportMessageToConsole(v8::Local<v8::Context>, MessageType, MessageLevel, const String16& text) = 0;
+
+ virtual void time(v8::Isolate*, const String16& title) = 0;
+ virtual void timeEnd(v8::Isolate*, const String16& title) = 0;
+ virtual void timeStamp(v8::Isolate*, const String16& title) = 0;
+
+ virtual void profile(v8::Local<v8::Context>, const String16& title) = 0;
+ virtual void profileEnd(v8::Local<v8::Context>, const String16& title) = 0;
+
+ virtual bool hasMemoryOnConsole(v8::Local<v8::Context>) = 0;
+ virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>, v8::Local<v8::Object> creationContext) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698