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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 class InspectorPageAgent; | 42 class InspectorPageAgent; |
43 class Page; | 43 class Page; |
44 class PageScriptDebugServer; | 44 class PageScriptDebugServer; |
45 class ScriptSourceCode; | 45 class ScriptSourceCode; |
46 | 46 |
47 class PageDebuggerAgent FINAL | 47 class PageDebuggerAgent FINAL |
48 : public InspectorDebuggerAgent | 48 : public InspectorDebuggerAgent |
49 , public InspectorOverlayHost::Listener { | 49 , public InspectorOverlayHost::Listener { |
50 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); | 50 WTF_MAKE_NONCOPYABLE(PageDebuggerAgent); |
51 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 51 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent); |
52 public: | 53 public: |
53 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); | 54 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); |
54 virtual ~PageDebuggerAgent(); | 55 virtual ~PageDebuggerAgent(); |
55 virtual void trace(Visitor*) OVERRIDE; | 56 virtual void trace(Visitor*) OVERRIDE; |
56 | 57 |
57 void didClearDocumentOfWindowObject(LocalFrame*); | 58 void didClearDocumentOfWindowObject(LocalFrame*); |
58 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); | 59 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); |
59 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); | 60 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); |
60 void didCommitLoad(LocalFrame*, DocumentLoader*); | 61 void didCommitLoad(LocalFrame*, DocumentLoader*); |
61 | 62 |
(...skipping 19 matching lines...) Expand all Loading... |
81 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. | 82 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. |
82 PageScriptDebugServer* m_pageScriptDebugServer; | 83 PageScriptDebugServer* m_pageScriptDebugServer; |
83 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 84 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
84 InspectorOverlay* m_overlay; | 85 InspectorOverlay* m_overlay; |
85 }; | 86 }; |
86 | 87 |
87 } // namespace blink | 88 } // namespace blink |
88 | 89 |
89 | 90 |
90 #endif // !defined(PageDebuggerAgent_h) | 91 #endif // !defined(PageDebuggerAgent_h) |
OLD | NEW |