| 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 "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "wtf/FastAllocBase.h" |
| 9 | 10 |
| 10 #include <v8.h> | 11 #include <v8.h> |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class V8DebuggerListener; | 15 class V8DebuggerListener; |
| 15 | 16 |
| 16 class CORE_EXPORT V8DebuggerClient { | 17 class CORE_EXPORT V8DebuggerClient { |
| 18 WTF_MAKE_FAST_ALLOCATED(V8DebuggerClient); |
| 17 public: | 19 public: |
| 18 virtual ~V8DebuggerClient() { } | 20 virtual ~V8DebuggerClient() { } |
| 19 virtual v8::Local<v8::Object> compileDebuggerScript() = 0; | 21 virtual v8::Local<v8::Object> compileDebuggerScript() = 0; |
| 20 virtual void runMessageLoopOnPause(v8::Local<v8::Context>) = 0; | 22 virtual void runMessageLoopOnPause(v8::Local<v8::Context>) = 0; |
| 21 virtual void quitMessageLoopOnPause() = 0; | 23 virtual void quitMessageLoopOnPause() = 0; |
| 22 }; | 24 }; |
| 23 | 25 |
| 24 } // namespace blink | 26 } // namespace blink |
| 25 | 27 |
| 26 | 28 |
| 27 #endif // V8DebuggerClient_h | 29 #endif // V8DebuggerClient_h |
| OLD | NEW |