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 24 matching lines...) Expand all Loading... |
35 #include "core/inspector/InspectorTaskRunner.h" | 35 #include "core/inspector/InspectorTaskRunner.h" |
36 #include "core/inspector/ScriptDebuggerBase.h" | 36 #include "core/inspector/ScriptDebuggerBase.h" |
37 #include <v8.h> | 37 #include <v8.h> |
38 | 38 |
39 namespace WTF { | 39 namespace WTF { |
40 class Mutex; | 40 class Mutex; |
41 } | 41 } |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
| 45 class LocalFrame; |
| 46 |
45 class CORE_EXPORT MainThreadDebugger final : public NoBaseWillBeGarbageCollected
Finalized<MainThreadDebugger>, public ScriptDebuggerBase { | 47 class CORE_EXPORT MainThreadDebugger final : public NoBaseWillBeGarbageCollected
Finalized<MainThreadDebugger>, public ScriptDebuggerBase { |
46 WTF_MAKE_NONCOPYABLE(MainThreadDebugger); | 48 WTF_MAKE_NONCOPYABLE(MainThreadDebugger); |
47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MainThreadDebugger); | 49 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MainThreadDebugger); |
48 public: | 50 public: |
49 class ClientMessageLoop { | 51 class ClientMessageLoop { |
50 public: | 52 public: |
51 virtual ~ClientMessageLoop() { } | 53 virtual ~ClientMessageLoop() { } |
52 virtual void run(LocalFrame*) = 0; | 54 virtual void run(LocalFrame*) = 0; |
53 virtual void quitNow() = 0; | 55 virtual void quitNow() = 0; |
54 }; | 56 }; |
(...skipping 30 matching lines...) Expand all Loading... |
85 RawPtrWillBeMember<LocalFrame> m_pausedFrame; | 87 RawPtrWillBeMember<LocalFrame> m_pausedFrame; |
86 OwnPtr<InspectorTaskRunner> m_taskRunner; | 88 OwnPtr<InspectorTaskRunner> m_taskRunner; |
87 | 89 |
88 static MainThreadDebugger* s_instance; | 90 static MainThreadDebugger* s_instance; |
89 }; | 91 }; |
90 | 92 |
91 } // namespace blink | 93 } // namespace blink |
92 | 94 |
93 | 95 |
94 #endif // MainThreadDebugger_h | 96 #endif // MainThreadDebugger_h |
OLD | NEW |