blob: ef14c3fe22abdc2f080fda03ef49f720fba507a6 [file] [log] [blame]
// Copyright 2015 The Chromium 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 V8DebuggerClient_h
#define V8DebuggerClient_h
#include "core/CoreExport.h"
#include "wtf/FastAllocBase.h"
#include <v8.h>
namespace blink {
class V8DebuggerListener;
class CORE_EXPORT V8DebuggerClient {
WTF_MAKE_FAST_ALLOCATED(V8DebuggerClient);
public:
virtual ~V8DebuggerClient() { }
virtual v8::Local<v8::Object> compileDebuggerScript() = 0;
virtual void runMessageLoopOnPause(v8::Local<v8::Context>) = 0;
virtual void quitMessageLoopOnPause() = 0;
};
} // namespace blink
#endif // V8DebuggerClient_h