OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 Google Inc. All rights reserved. | 2 * Copyright (c) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 static void interruptAndRun(PassOwnPtr<Task>); | 57 static void interruptAndRun(PassOwnPtr<Task>); |
58 | 58 |
59 class ClientMessageLoop { | 59 class ClientMessageLoop { |
60 public: | 60 public: |
61 virtual ~ClientMessageLoop() { } | 61 virtual ~ClientMessageLoop() { } |
62 virtual void run(Page*) = 0; | 62 virtual void run(Page*) = 0; |
63 virtual void quitNow() = 0; | 63 virtual void quitNow() = 0; |
64 }; | 64 }; |
65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>); | 65 void setClientMessageLoop(PassOwnPtr<ClientMessageLoop>); |
66 | 66 |
67 virtual void compileScript(ScriptState*, const String& expression, const Str
ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber,
int* columnNumber, RefPtr<ScriptCallStack>* stackTrace) OVERRIDE; | 67 virtual void compileScript(ScriptState*, const String& expression, const Str
ing& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber,
int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE; |
68 virtual void clearCompiledScripts() OVERRIDE; | 68 virtual void clearCompiledScripts() OVERRIDE; |
69 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re
sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum
nNumber, RefPtr<ScriptCallStack>* stackTrace) OVERRIDE; | 69 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* re
sult, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* colum
nNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE; |
70 virtual void setPreprocessorSource(const String&) OVERRIDE; | 70 virtual void setPreprocessorSource(const String&) OVERRIDE; |
71 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) OVERRID
E; | 71 virtual void preprocessBeforeCompile(const v8::Debug::EventDetails&) OVERRID
E; |
72 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou
rceCode&) OVERRIDE; | 72 virtual PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSou
rceCode&) OVERRIDE; |
73 virtual String preprocessEventListener(LocalFrame*, const String& source, co
nst String& url, const String& functionName) OVERRIDE; | 73 virtual String preprocessEventListener(LocalFrame*, const String& source, co
nst String& url, const String& functionName) OVERRIDE; |
74 | 74 |
75 virtual void muteWarningsAndDeprecations() OVERRIDE; | 75 virtual void muteWarningsAndDeprecations() OVERRIDE; |
76 virtual void unmuteWarningsAndDeprecations() OVERRIDE; | 76 virtual void unmuteWarningsAndDeprecations() OVERRIDE; |
77 | 77 |
78 private: | 78 private: |
79 PageScriptDebugServer(); | 79 PageScriptDebugServer(); |
(...skipping 12 matching lines...) Expand all Loading... |
92 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; | 92 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; |
93 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; | 93 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; |
94 bool canPreprocess(LocalFrame*); | 94 bool canPreprocess(LocalFrame*); |
95 static v8::Isolate* s_mainThreadIsolate; | 95 static v8::Isolate* s_mainThreadIsolate; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace WebCore | 98 } // namespace WebCore |
99 | 99 |
100 | 100 |
101 #endif // PageScriptDebugServer_h | 101 #endif // PageScriptDebugServer_h |
OLD | NEW |