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

Unified Diff: third_party/WebKit/Source/core/inspector/MainThreadDebugger.h

Issue 2035653006: [DevTools] Move Console to v8 inspector. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: all tests pass Created 4 years, 6 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/core/inspector/MainThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
index 343d364acf71b2bb3aae6fc0427fe97808643270..4847537c5f1a09a721b82ce25ebf223cb650b73d 100644
--- a/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/MainThreadDebugger.h
@@ -70,8 +70,7 @@ public:
void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>) override;
v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) override;
-protected:
- void reportMessageToConsole(v8::Local<v8::Context>, ConsoleMessage*) override;
+ void messageAddedToConsole(int contextGroupId, MessageSource, MessageLevel, const String16& message, const String16& url, unsigned lineNumber, unsigned columnNumber, V8StackTrace*) override;
private:
// V8DebuggerClient implementation.
@@ -79,10 +78,8 @@ private:
void quitMessageLoopOnPause() override;
void muteWarningsAndDeprecations() override;
void unmuteWarningsAndDeprecations() override;
- void muteConsole() override;
- void unmuteConsole() override;
bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Local<v8::Context> target) override;
- int ensureDefaultContextInGroup(int contextGroupId) override;
+ v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) override;
OwnPtr<ClientMessageLoop> m_clientMessageLoop;
OwnPtr<InspectorTaskRunner> m_taskRunner;

Powered by Google App Engine
This is Rietveld 408576698