| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 void didFireWebGLError(const String& errorName); | 98 void didFireWebGLError(const String& errorName); |
| 99 void didFireWebGLWarning(); | 99 void didFireWebGLWarning(); |
| 100 void didFireWebGLErrorOrWarning(const String& message); | 100 void didFireWebGLErrorOrWarning(const String& message); |
| 101 void willCloseWindow(); | 101 void willCloseWindow(); |
| 102 | 102 |
| 103 void disable(ErrorString*) override; | 103 void disable(ErrorString*) override; |
| 104 void discardAgent() override; | 104 void discardAgent() override; |
| 105 | 105 |
| 106 private: | 106 private: |
| 107 InspectorDOMDebuggerAgent(InjectedScriptManager*, InspectorDOMAgent*, Inspec
torDebuggerAgent*); | 107 InspectorDOMDebuggerAgent(InjectedScriptManager*, InspectorDOMAgent*, Inspec
torDebuggerAgent*); |
| 108 bool checkEnabled(ErrorString*); |
| 108 | 109 |
| 109 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch
ronous); | 110 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch
ronous); |
| 110 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName
, const String* targetName); | 111 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName
, const String* targetName); |
| 111 | 112 |
| 112 // InspectorDOMAgent::Listener implementation. | 113 // InspectorDOMAgent::Listener implementation. |
| 113 void domAgentWasEnabled() override; | 114 void domAgentWasEnabled() override; |
| 114 void domAgentWasDisabled() override; | 115 void domAgentWasDisabled() override; |
| 115 | 116 |
| 116 // InspectorDebuggerAgent::Listener implementation. | 117 // InspectorDebuggerAgent::Listener implementation. |
| 117 void debuggerWasEnabled() override; | 118 void debuggerWasEnabled() override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 134 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 135 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
| 135 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 136 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
| 136 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 137 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
| 137 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; | 138 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 } // namespace blink | 141 } // namespace blink |
| 141 | 142 |
| 142 | 143 |
| 143 #endif // !defined(InspectorDOMDebuggerAgent_h) | 144 #endif // !defined(InspectorDOMDebuggerAgent_h) |
| OLD | NEW |