Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Side by Side Diff: Source/core/inspector/InspectorDOMDebuggerAgent.h

Issue 343653007: DevTools: Support media event listener breakpoints in frontend. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
98 98
99 void didProcessTask(); 99 void didProcessTask();
100 100
101 virtual void clearFrontend() OVERRIDE; 101 virtual void clearFrontend() OVERRIDE;
102 virtual void discardAgent() OVERRIDE; 102 virtual void discardAgent() OVERRIDE;
103 103
104 private: 104 private:
105 InspectorDOMDebuggerAgent(InspectorDOMAgent*, InspectorDebuggerAgent*); 105 InspectorDOMDebuggerAgent(InspectorDOMAgent*, InspectorDebuggerAgent*);
106 106
107 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch ronous); 107 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch ronous);
108 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName , const AtomicString* targetName); 108 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName , const String* targetName);
109 109
110 // InspectorDOMAgent::Listener implementation. 110 // InspectorDOMAgent::Listener implementation.
111 virtual void domAgentWasEnabled() OVERRIDE; 111 virtual void domAgentWasEnabled() OVERRIDE;
112 virtual void domAgentWasDisabled() OVERRIDE; 112 virtual void domAgentWasDisabled() OVERRIDE;
113 113
114 // InspectorDebuggerAgent::Listener implementation. 114 // InspectorDebuggerAgent::Listener implementation.
115 virtual void debuggerWasEnabled() OVERRIDE; 115 virtual void debuggerWasEnabled() OVERRIDE;
116 virtual void debuggerWasDisabled() OVERRIDE; 116 virtual void debuggerWasDisabled() OVERRIDE;
117 virtual void stepInto() OVERRIDE; 117 virtual void stepInto() OVERRIDE;
118 virtual void didPause() OVERRIDE; 118 virtual void didPause() OVERRIDE;
(...skipping 10 matching lines...) Expand all
129 InspectorDOMAgent* m_domAgent; 129 InspectorDOMAgent* m_domAgent;
130 InspectorDebuggerAgent* m_debuggerAgent; 130 InspectorDebuggerAgent* m_debuggerAgent;
131 HashMap<Node*, uint32_t> m_domBreakpoints; 131 HashMap<Node*, uint32_t> m_domBreakpoints;
132 bool m_pauseInNextEventListener; 132 bool m_pauseInNextEventListener;
133 }; 133 };
134 134
135 } // namespace WebCore 135 } // namespace WebCore
136 136
137 137
138 #endif // !defined(InspectorDOMDebuggerAgent_h) 138 #endif // !defined(InspectorDOMDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698