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

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

Issue 240013007: Remove some dead code from inspector/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 { 133 {
134 disable(); 134 disable();
135 } 135 }
136 136
137 void InspectorDOMDebuggerAgent::discardAgent() 137 void InspectorDOMDebuggerAgent::discardAgent()
138 { 138 {
139 m_debuggerAgent->setListener(0); 139 m_debuggerAgent->setListener(0);
140 m_debuggerAgent = 0; 140 m_debuggerAgent = 0;
141 } 141 }
142 142
143 void InspectorDOMDebuggerAgent::discardBindings()
144 {
145 m_domBreakpoints.clear();
146 }
147
148 void InspectorDOMDebuggerAgent::setEventListenerBreakpoint(ErrorString* error, c onst String& eventName) 143 void InspectorDOMDebuggerAgent::setEventListenerBreakpoint(ErrorString* error, c onst String& eventName)
149 { 144 {
150 setBreakpoint(error, String(listenerEventCategoryType) + eventName); 145 setBreakpoint(error, String(listenerEventCategoryType) + eventName);
151 } 146 }
152 147
153 void InspectorDOMDebuggerAgent::setInstrumentationBreakpoint(ErrorString* error, const String& eventName) 148 void InspectorDOMDebuggerAgent::setInstrumentationBreakpoint(ErrorString* error, const String& eventName)
154 { 149 {
155 setBreakpoint(error, String(instrumentationEventCategoryType) + eventName); 150 setBreakpoint(error, String(instrumentationEventCategoryType) + eventName);
156 } 151 }
157 152
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 } 512 }
518 513
519 void InspectorDOMDebuggerAgent::clear() 514 void InspectorDOMDebuggerAgent::clear()
520 { 515 {
521 m_domBreakpoints.clear(); 516 m_domBreakpoints.clear();
522 m_pauseInNextEventListener = false; 517 m_pauseInNextEventListener = false;
523 } 518 }
524 519
525 } // namespace WebCore 520 } // namespace WebCore
526 521
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorDOMDebuggerAgent.h ('k') | Source/core/inspector/NetworkResourcesData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698