| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50 public: | 50 public: | 
| 51     static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
    r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debugger
    Id); | 51     static PassOwnPtrWillBeRawPtr<PageDebuggerAgent> create(PageScriptDebugServe
    r*, InspectorPageAgent*, InjectedScriptManager*, InspectorOverlay*, int debugger
    Id); | 
| 52     ~PageDebuggerAgent() override; | 52     ~PageDebuggerAgent() override; | 
| 53     DECLARE_VIRTUAL_TRACE(); | 53     DECLARE_VIRTUAL_TRACE(); | 
| 54 | 54 | 
| 55     void didStartProvisionalLoad(LocalFrame*); | 55     void didStartProvisionalLoad(LocalFrame*); | 
| 56     void didClearDocumentOfWindowObject(LocalFrame*); | 56     void didClearDocumentOfWindowObject(LocalFrame*); | 
| 57     void didCommitLoadForLocalFrame(LocalFrame*) override; | 57     void didCommitLoadForLocalFrame(LocalFrame*) override; | 
| 58 | 58 | 
| 59 protected: | 59 protected: | 
| 60     void enable() override; | 60     bool enable() override; | 
| 61     void disable() override; | 61     void disable() override; | 
| 62 | 62 | 
| 63 private: | 63 private: | 
| 64     void startListeningScriptDebugServer() override; | 64     bool startListeningScriptDebugServer() override; | 
| 65     void stopListeningScriptDebugServer() override; | 65     void stopListeningScriptDebugServer() override; | 
| 66     PageScriptDebugServer& scriptDebugServer() override; | 66     PageScriptDebugServer& scriptDebugServer() override; | 
| 67     void muteConsole() override; | 67     void muteConsole() override; | 
| 68     void unmuteConsole() override; | 68     void unmuteConsole() override; | 
| 69 | 69 | 
| 70     // InspectorOverlay::Listener implementation. | 70     // InspectorOverlay::Listener implementation. | 
| 71     void overlayResumed() override; | 71     void overlayResumed() override; | 
| 72     void overlaySteppedOver() override; | 72     void overlaySteppedOver() override; | 
| 73 | 73 | 
| 74     InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte
    xtId) override; | 74     InjectedScript injectedScriptForEval(ErrorString*, const int* executionConte
    xtId) override; | 
| 75 | 75 | 
| 76     PageDebuggerAgent(PageScriptDebugServer*, InspectorPageAgent*, InjectedScrip
    tManager*, InspectorOverlay*, int debuggerId); | 76     PageDebuggerAgent(PageScriptDebugServer*, InspectorPageAgent*, InjectedScrip
    tManager*, InspectorOverlay*, int debuggerId); | 
| 77     RawPtrWillBeMember<PageScriptDebugServer> m_pageScriptDebugServer; | 77     RawPtrWillBeMember<PageScriptDebugServer> m_pageScriptDebugServer; | 
| 78     RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 78     RawPtrWillBeMember<InspectorPageAgent> m_pageAgent; | 
| 79     RawPtrWillBeMember<InspectorOverlay> m_overlay; | 79     RawPtrWillBeMember<InspectorOverlay> m_overlay; | 
| 80     int m_debuggerId; | 80     int m_debuggerId; | 
| 81 }; | 81 }; | 
| 82 | 82 | 
| 83 } // namespace blink | 83 } // namespace blink | 
| 84 | 84 | 
| 85 | 85 | 
| 86 #endif // !defined(PageDebuggerAgent_h) | 86 #endif // !defined(PageDebuggerAgent_h) | 
| OLD | NEW | 
|---|