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

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

Issue 1917733002: [DevTools] Move part of CommandLineAPI to native (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/V8RuntimeAgent.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8RuntimeAgent.h b/third_party/WebKit/Source/platform/v8_inspector/public/V8RuntimeAgent.h
index c3b0d59153082c95a4079d7970c28c4926bf872d..042a4e75781cfbb5c74acadbcedd909fa8d2b24d 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8RuntimeAgent.h
+++ b/third_party/WebKit/Source/platform/v8_inspector/public/V8RuntimeAgent.h
@@ -9,7 +9,6 @@
#include "platform/inspector_protocol/Dispatcher.h"
#include "platform/v8_inspector/public/V8ContextInfo.h"
#include "platform/v8_inspector/public/V8Debugger.h"
-#include "wtf/Functional.h"
#include <v8.h>
@@ -29,10 +28,8 @@ public:
virtual ~V8RuntimeAgent() { }
// Embedder API.
- using ClearConsoleCallback = Function<void()>;
- virtual void setClearConsoleCallback(PassOwnPtr<ClearConsoleCallback>) = 0;
virtual PassOwnPtr<protocol::Runtime::RemoteObject> wrapObject(v8::Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName, bool generatePreview = false) = 0;
- // FIXME: remove when console.table moves into V8 inspector.
+ // FIXME: remove when InspectorConsoleAgent moves into V8 inspector.
virtual PassOwnPtr<protocol::Runtime::RemoteObject> wrapTable(v8::Local<v8::Context>, v8::Local<v8::Value> table, v8::Local<v8::Value> columns) = 0;
virtual v8::Local<v8::Value> findObject(ErrorString*, const String16& objectId, v8::Local<v8::Context>* = nullptr, String16* objectGroup = nullptr) = 0;
virtual void disposeObjectGroup(const String16&) = 0;

Powered by Google App Engine
This is Rietveld 408576698