diff options
author | Steve Block <steveblock@google.com> | 2010-08-27 11:02:25 +0100 |
---|---|---|
committer | Steve Block <steveblock@google.com> | 2010-09-02 17:17:20 +0100 |
commit | e8b154fd68f9b33be40a3590e58347f353835f5c (patch) | |
tree | 0733ce26384183245aaa5656af26c653636fe6c1 /WebCore/bindings/v8/ScriptDebugServer.h | |
parent | da56157816334089526a7a115a85fd85a6e9a1dc (diff) | |
download | external_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.zip external_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.tar.gz external_webkit-e8b154fd68f9b33be40a3590e58347f353835f5c.tar.bz2 |
Merge WebKit at r66079 : Initial merge by git
Change-Id: Ie2e1440fb9d487d24e52c247342c076fecaecac7
Diffstat (limited to 'WebCore/bindings/v8/ScriptDebugServer.h')
-rw-r--r-- | WebCore/bindings/v8/ScriptDebugServer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/bindings/v8/ScriptDebugServer.h b/WebCore/bindings/v8/ScriptDebugServer.h index a1e0a47..d1fd71f 100644 --- a/WebCore/bindings/v8/ScriptDebugServer.h +++ b/WebCore/bindings/v8/ScriptDebugServer.h @@ -71,6 +71,7 @@ public: void setPauseOnExceptionsState(PauseOnExceptionsState pauseOnExceptionsState); void pause(); + void breakProgram(); void continueProgram(); void stepIntoStatement(); void stepOverStatement(); @@ -111,6 +112,9 @@ private: ScriptDebugServer(); ~ScriptDebugServer() { } + static v8::Handle<v8::Value> breakProgramCallback(const v8::Arguments& args); + void breakProgram(v8::Handle<v8::Object> executionState); + static void v8DebugEventCallback(const v8::Debug::EventDetails& eventDetails); void handleV8DebugEvent(const v8::Debug::EventDetails& eventDetails); @@ -128,7 +132,10 @@ private: OwnHandle<v8::Object> m_executionState; OwnPtr<ClientMessageLoop> m_clientMessageLoop; Page* m_pausedPage; + v8::Local<v8::Context> m_pausedPageContext; bool m_enabled; + + bool m_breakpointsActivated; }; } // namespace WebCore |