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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PageDebuggerAgent); |
53 public: | 53 public: |
54 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); | 54 static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*); |
55 virtual ~PageDebuggerAgent(); | 55 virtual ~PageDebuggerAgent(); |
56 virtual void trace(Visitor*) OVERRIDE; | 56 virtual void trace(Visitor*) OVERRIDE; |
57 | 57 |
58 void didClearDocumentOfWindowObject(LocalFrame*); | 58 void didClearDocumentOfWindowObject(LocalFrame*); |
59 String preprocessEventListener(LocalFrame*, const String& source, const Stri
ng& url, const String& functionName); | |
60 PassOwnPtr<ScriptSourceCode> preprocess(LocalFrame*, const ScriptSourceCode&
); | |
61 void didCommitLoad(LocalFrame*, DocumentLoader*); | 59 void didCommitLoad(LocalFrame*, DocumentLoader*); |
62 | 60 |
63 protected: | 61 protected: |
64 virtual void enable() OVERRIDE; | 62 virtual void enable() OVERRIDE; |
65 virtual void disable() OVERRIDE; | 63 virtual void disable() OVERRIDE; |
66 | 64 |
67 private: | 65 private: |
68 virtual void startListeningScriptDebugServer() OVERRIDE; | 66 virtual void startListeningScriptDebugServer() OVERRIDE; |
69 virtual void stopListeningScriptDebugServer() OVERRIDE; | 67 virtual void stopListeningScriptDebugServer() OVERRIDE; |
70 virtual PageScriptDebugServer& scriptDebugServer() OVERRIDE; | 68 virtual PageScriptDebugServer& scriptDebugServer() OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
82 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. | 80 // FIXME: Oilpan: Move PageScriptDebugServer to heap in follow-up CL. |
83 PageScriptDebugServer* m_pageScriptDebugServer; | 81 PageScriptDebugServer* m_pageScriptDebugServer; |
84 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 82 RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; |
85 InspectorOverlay* m_overlay; | 83 InspectorOverlay* m_overlay; |
86 }; | 84 }; |
87 | 85 |
88 } // namespace blink | 86 } // namespace blink |
89 | 87 |
90 | 88 |
91 #endif // !defined(PageDebuggerAgent_h) | 89 #endif // !defined(PageDebuggerAgent_h) |
OLD | NEW |