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 26 matching lines...) Expand all Loading... |
37 namespace blink { | 37 namespace blink { |
38 | 38 |
39 class Page; | 39 class Page; |
40 | 40 |
41 class PageScriptDebugServer final : public ScriptDebugServer { | 41 class PageScriptDebugServer final : public ScriptDebugServer { |
42 WTF_MAKE_NONCOPYABLE(PageScriptDebugServer); | 42 WTF_MAKE_NONCOPYABLE(PageScriptDebugServer); |
43 public: | 43 public: |
44 static PageScriptDebugServer& shared(); | 44 static PageScriptDebugServer& shared(); |
45 | 45 |
46 ~PageScriptDebugServer() override; | 46 ~PageScriptDebugServer() override; |
47 void trace(Visitor*) override; | 47 DECLARE_VIRTUAL_TRACE(); |
48 | 48 |
49 static void setMainThreadIsolate(v8::Isolate*); | 49 static void setMainThreadIsolate(v8::Isolate*); |
50 | 50 |
51 void addListener(ScriptDebugListener*, LocalFrame*); | 51 void addListener(ScriptDebugListener*, LocalFrame*); |
52 void removeListener(ScriptDebugListener*, LocalFrame*); | 52 void removeListener(ScriptDebugListener*, LocalFrame*); |
53 | 53 |
54 static void interruptAndRun(PassOwnPtr<Task>); | 54 static void interruptAndRun(PassOwnPtr<Task>); |
55 | 55 |
56 class ClientMessageLoop { | 56 class ClientMessageLoop { |
57 public: | 57 public: |
(...skipping 23 matching lines...) Expand all Loading... |
81 RawPtrWillBeMember<LocalFrame> m_pausedFrame; | 81 RawPtrWillBeMember<LocalFrame> m_pausedFrame; |
82 HashMap<String, String> m_compiledScriptURLs; | 82 HashMap<String, String> m_compiledScriptURLs; |
83 | 83 |
84 static v8::Isolate* s_mainThreadIsolate; | 84 static v8::Isolate* s_mainThreadIsolate; |
85 }; | 85 }; |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 | 89 |
90 #endif // PageScriptDebugServer_h | 90 #endif // PageScriptDebugServer_h |
OLD | NEW |