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

Unified Diff: src/inspector/public/V8InspectorClient.h

Issue 2300823002: Revert of [inspector] Initial import of v8_inspector. (Closed)
Patch Set: Created 4 years, 4 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 | « src/inspector/public/V8Inspector.h ('k') | src/inspector/public/V8InspectorSession.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/inspector/public/V8InspectorClient.h
diff --git a/src/inspector/public/V8InspectorClient.h b/src/inspector/public/V8InspectorClient.h
deleted file mode 100644
index c7400102e6ddcfa1e9fc24fa301a818c3d13e874..0000000000000000000000000000000000000000
--- a/src/inspector/public/V8InspectorClient.h
+++ /dev/null
@@ -1,60 +0,0 @@
-// Copyright 2015 the V8 project 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 V8_INSPECTOR_PUBLIC_V8INSPECTORCLIENT_H_
-#define V8_INSPECTOR_PUBLIC_V8INSPECTORCLIENT_H_
-
-#include "src/inspector/public/StringBuffer.h"
-#include "src/inspector/public/StringView.h"
-
-#include <v8.h>
-
-namespace v8_inspector {
-
-class V8StackTrace;
-
-enum class V8ConsoleAPIType { kClear, kDebug, kLog, kInfo, kWarning, kError };
-
-class PLATFORM_EXPORT V8InspectorClient {
-public:
- virtual ~V8InspectorClient() { }
-
- virtual void runMessageLoopOnPause(int contextGroupId) { }
- virtual void quitMessageLoopOnPause() { }
- virtual void runIfWaitingForDebugger(int contextGroupId) { }
-
- virtual void muteMetrics(int contextGroupId) { }
- virtual void unmuteMetrics(int contextGroupId) { }
-
- virtual void beginUserGesture() { }
- virtual void endUserGesture() { }
-
- virtual std::unique_ptr<StringBuffer> valueSubtype(v8::Local<v8::Value>) { return nullptr; }
- virtual bool formatAccessorsAsProperties(v8::Local<v8::Value>) { return false; }
- virtual bool isInspectableHeapObject(v8::Local<v8::Object>) { return true; }
-
- virtual v8::Local<v8::Context> ensureDefaultContextInGroup(int contextGroupId) { return v8::Local<v8::Context>(); }
- virtual void beginEnsureAllContextsInGroup(int contextGroupId) { }
- virtual void endEnsureAllContextsInGroup(int contextGroupId) { }
-
- virtual void installAdditionalCommandLineAPI(v8::Local<v8::Context>, v8::Local<v8::Object>) { }
- virtual void consoleAPIMessage(int contextGroupId, V8ConsoleAPIType, const StringView& message, const StringView& url, unsigned lineNumber, unsigned columnNumber, V8StackTrace*) { }
- virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Context>) { return v8::MaybeLocal<v8::Value>(); }
-
- virtual void consoleTime(const StringView& title) { }
- virtual void consoleTimeEnd(const StringView& title) { }
- virtual void consoleTimeStamp(const StringView& title) { }
- virtual double currentTimeMS() { return 0; }
- typedef void (*TimerCallback)(void*);
- virtual void startRepeatingTimer(double, TimerCallback, void* data) { }
- virtual void cancelTimer(void* data) { }
-
- // TODO(dgozman): this was added to support service worker shadow page. We should not connect at all.
- virtual bool canExecuteScripts(int contextGroupId) { return true; }
-};
-
-} // namespace v8_inspector
-
-
-#endif // V8_INSPECTOR_PUBLIC_V8INSPECTORCLIENT_H_
« no previous file with comments | « src/inspector/public/V8Inspector.h ('k') | src/inspector/public/V8InspectorSession.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698