| OLD | NEW |
| 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/inspector_protocol/Platform.h" | 8 #include "platform/inspector_protocol/Platform.h" |
| 9 #include "platform/v8_inspector/public/V8ConsoleTypes.h" | 9 #include "platform/v8_inspector/public/V8ConsoleTypes.h" |
| 10 #include "platform/v8_inspector/public/V8ContextInfo.h" | 10 #include "platform/v8_inspector/public/V8ContextInfo.h" |
| 11 | 11 |
| 12 #include <v8.h> | 12 #include <v8.h> |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class V8StackTrace; |
| 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 // TODO(dgozman): we don't really need to mute warnings and deprecations. | 23 // TODO(dgozman): we don't really need to mute warnings and deprecations. |
| 22 virtual void muteWarningsAndDeprecations() = 0; | 24 virtual void muteWarningsAndDeprecations() = 0; |
| 23 virtual void unmuteWarningsAndDeprecations() = 0; | 25 virtual void unmuteWarningsAndDeprecations() = 0; |
| 24 virtual void beginUserGesture() = 0; | 26 virtual void beginUserGesture() = 0; |
| 25 virtual void endUserGesture() = 0; | 27 virtual void endUserGesture() = 0; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 45 | 47 |
| 46 typedef void (*TimerCallback)(void*); | 48 typedef void (*TimerCallback)(void*); |
| 47 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; | 49 virtual void startRepeatingTimer(double, TimerCallback, void* data) = 0; |
| 48 virtual void cancelTimer(void* data) = 0; | 50 virtual void cancelTimer(void* data) = 0; |
| 49 }; | 51 }; |
| 50 | 52 |
| 51 } // namespace blink | 53 } // namespace blink |
| 52 | 54 |
| 53 | 55 |
| 54 #endif // V8DebuggerClient_h | 56 #endif // V8DebuggerClient_h |
| OLD | NEW |