| 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 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef PageScriptDebugServer_h | 31 #ifndef PageScriptDebugServer_h |
| 32 #define PageScriptDebugServer_h | 32 #define PageScriptDebugServer_h |
| 33 | 33 |
| 34 #include "bindings/core/v8/ScriptDebugServer.h" | 34 #include "bindings/core/v8/ScriptDebugServer.h" |
| 35 #include "bindings/core/v8/ScriptPreprocessor.h" | 35 #include "bindings/core/v8/ScriptPreprocessor.h" |
| 36 #include "wtf/Forward.h" | |
| 37 #include "wtf/RefCounted.h" | |
| 38 #include <v8.h> | 36 #include <v8.h> |
| 39 | 37 |
| 40 namespace blink { | 38 namespace blink { |
| 41 | 39 |
| 42 class Page; | 40 class Page; |
| 43 class ScriptController; | |
| 44 class ScriptPreprocessor; | 41 class ScriptPreprocessor; |
| 45 class ScriptSourceCode; | 42 class ScriptSourceCode; |
| 46 | 43 |
| 47 class PageScriptDebugServer FINAL : public ScriptDebugServer { | 44 class PageScriptDebugServer FINAL : public ScriptDebugServer { |
| 48 WTF_MAKE_NONCOPYABLE(PageScriptDebugServer); | 45 WTF_MAKE_NONCOPYABLE(PageScriptDebugServer); |
| 49 public: | 46 public: |
| 50 static PageScriptDebugServer& shared(); | 47 static PageScriptDebugServer& shared(); |
| 51 | 48 |
| 52 static void setMainThreadIsolate(v8::Isolate*); | 49 static void setMainThreadIsolate(v8::Isolate*); |
| 53 | 50 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; | 90 OwnPtr<ScriptSourceCode> m_preprocessorSourceCode; |
| 94 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; | 91 OwnPtr<ScriptPreprocessor> m_scriptPreprocessor; |
| 95 bool canPreprocess(LocalFrame*); | 92 bool canPreprocess(LocalFrame*); |
| 96 static v8::Isolate* s_mainThreadIsolate; | 93 static v8::Isolate* s_mainThreadIsolate; |
| 97 }; | 94 }; |
| 98 | 95 |
| 99 } // namespace blink | 96 } // namespace blink |
| 100 | 97 |
| 101 | 98 |
| 102 #endif // PageScriptDebugServer_h | 99 #endif // PageScriptDebugServer_h |
| OLD | NEW |