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

Unified Diff: Source/bindings/core/v8/ScriptDebugServer.h

Issue 1128273005: Devtools: Move runMessageLoopOnPause and other methods on ScriptDebugServer::Client (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove empty line Created 5 years, 7 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
Index: Source/bindings/core/v8/ScriptDebugServer.h
diff --git a/Source/bindings/core/v8/ScriptDebugServer.h b/Source/bindings/core/v8/ScriptDebugServer.h
index aec46b598d9ba4fb49d6ed63b17d25ccec35a45a..eb0ef924ac35d7305c7197201bfab1e50e9569b4 100644
--- a/Source/bindings/core/v8/ScriptDebugServer.h
+++ b/Source/bindings/core/v8/ScriptDebugServer.h
@@ -57,6 +57,9 @@ public:
public:
virtual ~Client() { }
virtual v8::Local<v8::Object> compileDebuggerScript() = 0;
+ virtual ScriptDebugListener* getDebugListenerForContext(v8::Local<v8::Context>) = 0;
+ virtual void runMessageLoopOnPause(v8::Local<v8::Context>) = 0;
+ virtual void quitMessageLoopOnPause() = 0;
};
void enable();
@@ -118,13 +121,7 @@ public:
v8::MaybeLocal<v8::Value> setFunctionVariableValue(v8::Local<v8::Value> functionValue, int scopeNumber, const String& variableName, v8::Local<v8::Value> newValue);
v8::Isolate* isolate() const { return m_isolate; }
-
-protected:
- ScriptDebugServer(v8::Isolate*, PassOwnPtr<Client>);
-
- virtual ScriptDebugListener* getDebugListenerForContext(v8::Local<v8::Context>) = 0;
- virtual void runMessageLoopOnPause(v8::Local<v8::Context>) = 0;
- virtual void quitMessageLoopOnPause() = 0;
+ explicit ScriptDebugServer(v8::Isolate*, PassOwnPtr<Client>);
private:
void ensureDebuggerScriptCompiled();

Powered by Google App Engine
This is Rietveld 408576698