| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 static const char* const timerFiredEventName = "timerFired"; | 67 static const char* const timerFiredEventName = "timerFired"; |
| 68 | 68 |
| 69 namespace DOMDebuggerAgentState { | 69 namespace DOMDebuggerAgentState { |
| 70 static const char eventListenerBreakpoints[] = "eventListenerBreakpoints"; | 70 static const char eventListenerBreakpoints[] = "eventListenerBreakpoints"; |
| 71 static const char pauseOnAllXHRs[] = "pauseOnAllXHRs"; | 71 static const char pauseOnAllXHRs[] = "pauseOnAllXHRs"; |
| 72 static const char xhrBreakpoints[] = "xhrBreakpoints"; | 72 static const char xhrBreakpoints[] = "xhrBreakpoints"; |
| 73 static const char pauseOnAllWebGLErrors[] = "pauseOnAllWebGLErrors"; | 73 static const char pauseOnAllWebGLErrors[] = "pauseOnAllWebGLErrors"; |
| 74 static const char webGLBreakpoints[] = "webGLBreakpoints"; | 74 static const char webGLBreakpoints[] = "webGLBreakpoints"; |
| 75 } | 75 } |
| 76 | 76 |
| 77 PassOwnPtr<InspectorDOMDebuggerAgent> InspectorDOMDebuggerAgent::create(Instrume
ntingAgents* instrumentingAgents, InspectorCompositeState* inspectorState, Inspe
ctorDOMAgent* domAgent, InspectorDebuggerAgent* debuggerAgent, InspectorAgent* i
nspectorAgent) | 77 PassOwnPtr<InspectorDOMDebuggerAgent> InspectorDOMDebuggerAgent::create(Instrume
ntingAgents* instrumentingAgents, InspectorCompositeState* inspectorState, Inspe
ctorDOMAgent* domAgent, InspectorDebuggerAgent* debuggerAgent) |
| 78 { | 78 { |
| 79 return adoptPtr(new InspectorDOMDebuggerAgent(instrumentingAgents, inspector
State, domAgent, debuggerAgent, inspectorAgent)); | 79 return adoptPtr(new InspectorDOMDebuggerAgent(instrumentingAgents, inspector
State, domAgent, debuggerAgent)); |
| 80 } | 80 } |
| 81 | 81 |
| 82 InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent(InstrumentingAgents* instru
mentingAgents, InspectorCompositeState* inspectorState, InspectorDOMAgent* domAg
ent, InspectorDebuggerAgent* debuggerAgent, InspectorAgent*) | 82 InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent(InstrumentingAgents* instru
mentingAgents, InspectorCompositeState* inspectorState, InspectorDOMAgent* domAg
ent, InspectorDebuggerAgent* debuggerAgent) |
| 83 : InspectorBaseAgent<InspectorDOMDebuggerAgent>("DOMDebugger", instrumenting
Agents, inspectorState) | 83 : InspectorBaseAgent<InspectorDOMDebuggerAgent>("DOMDebugger", instrumenting
Agents, inspectorState) |
| 84 , m_domAgent(domAgent) | 84 , m_domAgent(domAgent) |
| 85 , m_debuggerAgent(debuggerAgent) | 85 , m_debuggerAgent(debuggerAgent) |
| 86 , m_pauseInNextEventListener(false) | 86 , m_pauseInNextEventListener(false) |
| 87 { | 87 { |
| 88 m_debuggerAgent->setListener(this); | 88 m_debuggerAgent->setListener(this); |
| 89 } | 89 } |
| 90 | 90 |
| 91 InspectorDOMDebuggerAgent::~InspectorDOMDebuggerAgent() | 91 InspectorDOMDebuggerAgent::~InspectorDOMDebuggerAgent() |
| 92 { | 92 { |
| (...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 } | 524 } |
| 525 | 525 |
| 526 void InspectorDOMDebuggerAgent::clear() | 526 void InspectorDOMDebuggerAgent::clear() |
| 527 { | 527 { |
| 528 m_domBreakpoints.clear(); | 528 m_domBreakpoints.clear(); |
| 529 m_pauseInNextEventListener = false; | 529 m_pauseInNextEventListener = false; |
| 530 } | 530 } |
| 531 | 531 |
| 532 } // namespace WebCore | 532 } // namespace WebCore |
| 533 | 533 |
| OLD | NEW |