| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 702 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 if (m_asyncCallStackTracker.isEnabled()) | 713 if (m_asyncCallStackTracker.isEnabled()) |
| 714 m_asyncCallStackTracker.didFireAsyncCall(); | 714 m_asyncCallStackTracker.didFireAsyncCall(); |
| 715 } | 715 } |
| 716 | 716 |
| 717 void InspectorDebuggerAgent::didEnqueueEvent(EventTarget* eventTarget, Event* ev
ent) | 717 void InspectorDebuggerAgent::didEnqueueEvent(EventTarget* eventTarget, Event* ev
ent) |
| 718 { | 718 { |
| 719 if (m_asyncCallStackTracker.isEnabled()) | 719 if (m_asyncCallStackTracker.isEnabled()) |
| 720 m_asyncCallStackTracker.didEnqueueEvent(eventTarget, event, scriptDebugS
erver().currentCallFramesForAsyncStack()); | 720 m_asyncCallStackTracker.didEnqueueEvent(eventTarget, event, scriptDebugS
erver().currentCallFramesForAsyncStack()); |
| 721 } | 721 } |
| 722 | 722 |
| 723 void InspectorDebuggerAgent::didDispatchEvent(EventTarget* eventTarget, Event* e
vent) | 723 void InspectorDebuggerAgent::didRemoveEvent(EventTarget* eventTarget, Event* eve
nt) |
| 724 { | 724 { |
| 725 if (m_asyncCallStackTracker.isEnabled()) | 725 if (m_asyncCallStackTracker.isEnabled()) |
| 726 m_asyncCallStackTracker.didDispatchEvent(eventTarget, event); | 726 m_asyncCallStackTracker.didRemoveEvent(eventTarget, event); |
| 727 } | 727 } |
| 728 | 728 |
| 729 void InspectorDebuggerAgent::willHandleEvent(EventTarget* eventTarget, Event* ev
ent, EventListener* listener, bool useCapture) | 729 void InspectorDebuggerAgent::willHandleEvent(EventTarget* eventTarget, Event* ev
ent, EventListener* listener, bool useCapture) |
| 730 { | 730 { |
| 731 if (m_asyncCallStackTracker.isEnabled()) | 731 if (m_asyncCallStackTracker.isEnabled()) |
| 732 m_asyncCallStackTracker.willHandleEvent(eventTarget, event, listener, us
eCapture); | 732 m_asyncCallStackTracker.willHandleEvent(eventTarget, event, listener, us
eCapture); |
| 733 } | 733 } |
| 734 | 734 |
| 735 void InspectorDebuggerAgent::didHandleEvent() | 735 void InspectorDebuggerAgent::didHandleEvent() |
| 736 { | 736 { |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1277 { | 1277 { |
| 1278 m_scripts.clear(); | 1278 m_scripts.clear(); |
| 1279 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1279 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 1280 m_asyncCallStackTracker.clear(); | 1280 m_asyncCallStackTracker.clear(); |
| 1281 if (m_frontend) | 1281 if (m_frontend) |
| 1282 m_frontend->globalObjectCleared(); | 1282 m_frontend->globalObjectCleared(); |
| 1283 } | 1283 } |
| 1284 | 1284 |
| 1285 } // namespace WebCore | 1285 } // namespace WebCore |
| 1286 | 1286 |
| OLD | NEW |