diff options
Diffstat (limited to 'WebCore/bindings/js/ScriptController.h')
-rw-r--r-- | WebCore/bindings/js/ScriptController.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/bindings/js/ScriptController.h b/WebCore/bindings/js/ScriptController.h index 8801622..f3e5adf 100644 --- a/WebCore/bindings/js/ScriptController.h +++ b/WebCore/bindings/js/ScriptController.h @@ -110,9 +110,11 @@ public: bool processingUserGesture() const; bool anyPageIsProcessingUserGesture() const; - bool isEnabled(); + bool canExecuteScripts(); - void attachDebugger(JSC::Debugger*); + // Debugger can be 0 to detach any existing Debugger. + void attachDebugger(JSC::Debugger*); // Attaches/detaches in all worlds/window shells. + void attachDebugger(JSDOMWindowShell*, JSC::Debugger*); void setPaused(bool b) { m_paused = b; } bool isPaused() const { return m_paused; } |