| Index: Source/bindings/v8/ScriptDebugServer.h
|
| diff --git a/Source/bindings/v8/ScriptDebugServer.h b/Source/bindings/v8/ScriptDebugServer.h
|
| index 80fb9a6416db8ac1b51c3806c5d737fdc1277cf0..43adac088604cbec75244f2aac4a821c22beb657 100644
|
| --- a/Source/bindings/v8/ScriptDebugServer.h
|
| +++ b/Source/bindings/v8/ScriptDebugServer.h
|
| @@ -45,6 +45,7 @@
|
|
|
| namespace WebCore {
|
|
|
| +class ScriptController;
|
| class ScriptDebugListener;
|
| class ScriptObject;
|
| class ScriptState;
|
| @@ -77,8 +78,6 @@ public:
|
| bool setScriptSource(const String& sourceID, const String& newContent, bool preview, String* error, RefPtr<TypeBuilder::Debugger::SetScriptSourceError>&, ScriptValue* newCallFrames, ScriptObject* result);
|
| void updateCallStack(ScriptValue* callFrame);
|
|
|
| - void setScriptPreprocessor(const String& preprocessorBody);
|
| -
|
| class Task {
|
| public:
|
| virtual ~Task() { }
|
| @@ -98,11 +97,11 @@ public:
|
| virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionMessage);
|
| virtual void clearCompiledScripts();
|
| virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionMessage);
|
| + virtual ScriptController* scriptController(v8::Handle<v8::Context>);
|
|
|
| protected:
|
| explicit ScriptDebugServer(v8::Isolate*);
|
| virtual ~ScriptDebugServer();
|
| -
|
| ScriptValue currentCallFrame();
|
|
|
| virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Context>) = 0;
|
| @@ -122,8 +121,6 @@ protected:
|
|
|
| v8::Local<v8::Value> callDebuggerMethod(const char* functionName, int argc, v8::Handle<v8::Value> argv[]);
|
|
|
| - String preprocessSourceCode(const String& sourceCode);
|
| -
|
| PauseOnExceptionsState m_pauseOnExceptionsState;
|
| ScopedPersistent<v8::Object> m_debuggerScript;
|
| ScopedPersistent<v8::Object> m_executionState;
|
| @@ -132,10 +129,8 @@ protected:
|
| ScopedPersistent<v8::FunctionTemplate> m_breakProgramCallbackTemplate;
|
| HashMap<String, OwnPtr<ScopedPersistent<v8::Script> > > m_compiledScripts;
|
| v8::Isolate* m_isolate;
|
| -
|
| private:
|
| - class ScriptPreprocessor;
|
| - OwnPtr<ScriptPreprocessor> m_scriptPreprocessor;
|
| + void preprocessEval(v8::Handle<v8::Context>, v8::Handle<v8::Object> eventData);
|
| bool m_runningNestedMessageLoop;
|
| };
|
|
|
|
|