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 22 matching lines...) Expand all Loading... |
33 | 33 |
34 #include "bindings/core/v8/PageScriptDebugServer.h" | 34 #include "bindings/core/v8/PageScriptDebugServer.h" |
35 #include "core/inspector/InspectorDebuggerAgent.h" | 35 #include "core/inspector/InspectorDebuggerAgent.h" |
36 #include "core/inspector/InspectorOverlayHost.h" | 36 #include "core/inspector/InspectorOverlayHost.h" |
37 | 37 |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class DocumentLoader; | 40 class DocumentLoader; |
41 class InspectorOverlay; | 41 class InspectorOverlay; |
42 class InspectorPageAgent; | 42 class InspectorPageAgent; |
43 class Page; | |
44 class PageScriptDebugServer; | 43 class PageScriptDebugServer; |
45 class ScriptSourceCode; | |
46 | 44 |
47 class PageDebuggerAgent final | 45 class PageDebuggerAgent final |
48 : public InspectorDebuggerAgent | 46 : public InspectorDebuggerAgent |
49 , public InspectorOverlayHost::Listener { | 47 , public InspectorOverlayHost::Listener { |
50 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); | 48 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); |
51 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 49 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent); | 50 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent); |
53 public: | 51 public: |
54 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); | 52 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); |
55 virtual ~PageDebuggerAgent(); | 53 virtual ~PageDebuggerAgent(); |
(...skipping 24 matching lines...) Expand all Loading... |
80 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. | 78 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. |
81 PageScriptDebugServer* m_pageScriptDebugServer; | 79 PageScriptDebugServer* m_pageScriptDebugServer; |
82 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 80 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
83 InspectorOverlay* m_overlay; | 81 InspectorOverlay* m_overlay; |
84 }; | 82 }; |
85 | 83 |
86 } // namespace blink | 84 } // namespace blink |
87 | 85 |
88 | 86 |
89 #endif // !defined(PageDebuggerAgent_h) | 87 #endif // !defined(PageDebuggerAgent_h) |
OLD | NEW |