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

Side by Side 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: rebased 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8DebuggerClient_h 5 #ifndef V8DebuggerClient_h
6 #define V8DebuggerClient_h 6 #define V8DebuggerClient_h
7 7
8 #include "platform/PlatformExport.h" 8 #include "platform/PlatformExport.h"
9 #include "platform/v8_inspector/public/ConsoleAPITypes.h"
10 #include "platform/v8_inspector/public/ConsoleTypes.h"
9 #include "platform/v8_inspector/public/V8ContextInfo.h" 11 #include "platform/v8_inspector/public/V8ContextInfo.h"
10 #include "platform/v8_inspector/public/V8EventListenerInfo.h" 12 #include "platform/v8_inspector/public/V8EventListenerInfo.h"
11 13
12 #include <v8.h> 14 #include <v8.h>
13 15
14 namespace blink { 16 namespace blink {
15 17
16 class PLATFORM_EXPORT V8DebuggerClient { 18 class PLATFORM_EXPORT V8DebuggerClient {
17 public: 19 public:
18 virtual ~V8DebuggerClient() { } 20 virtual ~V8DebuggerClient() { }
19 virtual void runMessageLoopOnPause(int contextGroupId) = 0; 21 virtual void runMessageLoopOnPause(int contextGroupId) = 0;
20 virtual void quitMessageLoopOnPause() = 0; 22 virtual void quitMessageLoopOnPause() = 0;
21 virtual void muteWarningsAndDeprecations() = 0; 23 virtual void muteWarningsAndDeprecations() = 0;
22 virtual void unmuteWarningsAndDeprecations() = 0; 24 virtual void unmuteWarningsAndDeprecations() = 0;
23 virtual void muteConsole() = 0; 25 virtual void muteConsole() = 0;
24 virtual void unmuteConsole() = 0; 26 virtual void unmuteConsole() = 0;
25 virtual void eventListeners(v8::Local<v8::Value>, V8EventListenerInfoList&) = 0; 27 virtual void eventListeners(v8::Local<v8::Value>, V8EventListenerInfoList&) = 0;
26 virtual bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Local<v8::Context> target) = 0; 28 virtual bool callingContextCanAccessContext(v8::Local<v8::Context> calling, v8::Local<v8::Context> target) = 0;
27 virtual String16 valueSubtype(v8::Local<v8::Value>) = 0; 29 virtual String16 valueSubtype(v8::Local<v8::Value>) = 0;
28 virtual bool formatAccessorsAsProperties(v8::Local<v8::Value>) = 0; 30 virtual bool formatAccessorsAsProperties(v8::Local<v8::Value>) = 0;
29 virtual bool isExecutionAllowed() = 0; 31 virtual bool isExecutionAllowed() = 0;
30 virtual double currentTimeMS() = 0; 32 virtual double currentTimeMS() = 0;
31 virtual int ensureDefaultContextInGroup(int contextGroupId) = 0; 33 virtual int ensureDefaultContextInGroup(int contextGroupId) = 0;
34
35 virtual void reportMessageToConsole(v8::Local<v8::Context>, MessageType, Mes sageLevel, const String16& message, const v8::FunctionCallbackInfo<v8::Value>* a rguments, unsigned skipArgumentCount, int maxStackSize) = 0;
36
37 virtual void consoleTime(const String16& title) = 0;
38 virtual void consoleTimeEnd(const String16& title) = 0;
39 virtual void consoleTimeStamp(const String16& title) = 0;
40
41 virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, v8::Local<v8::Con text>, v8::Local<v8::Object> creationContext) = 0;
32 }; 42 };
33 43
34 } // namespace blink 44 } // namespace blink
35 45
36 46
37 #endif // V8DebuggerClient_h 47 #endif // V8DebuggerClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698