| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 // returns the empty handle without an exception. | 104 // returns the empty handle without an exception. |
| 105 v8::Local<v8::Object> handler = v8Listener->getListenerObject(execut
ionContext); | 105 v8::Local<v8::Object> handler = v8Listener->getListenerObject(execut
ionContext); |
| 106 if (handler.IsEmpty()) | 106 if (handler.IsEmpty()) |
| 107 continue; | 107 continue; |
| 108 eventInformation.append(V8EventListenerInfo(type, listeners->at(k).c
apture(), listeners->at(k).passive(), handler)); | 108 eventInformation.append(V8EventListenerInfo(type, listeners->at(k).c
apture(), listeners->at(k).passive(), handler)); |
| 109 } | 109 } |
| 110 } | 110 } |
| 111 } | 111 } |
| 112 | 112 |
| 113 InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent(v8::Isolate* isolate, Inspe
ctorDOMAgent* domAgent, V8InspectorSession* v8Session) | 113 InspectorDOMDebuggerAgent::InspectorDOMDebuggerAgent(v8::Isolate* isolate, Inspe
ctorDOMAgent* domAgent, V8InspectorSession* v8Session) |
| 114 : InspectorBaseAgent<InspectorDOMDebuggerAgent, protocol::DOMDebugger::Front
end>("DOMDebugger") | 114 : m_isolate(isolate) |
| 115 , m_isolate(isolate) | |
| 116 , m_domAgent(domAgent) | 115 , m_domAgent(domAgent) |
| 117 , m_v8Session(v8Session) | 116 , m_v8Session(v8Session) |
| 118 { | 117 { |
| 119 } | 118 } |
| 120 | 119 |
| 121 InspectorDOMDebuggerAgent::~InspectorDOMDebuggerAgent() | 120 InspectorDOMDebuggerAgent::~InspectorDOMDebuggerAgent() |
| 122 { | 121 { |
| 123 } | 122 } |
| 124 | 123 |
| 125 DEFINE_TRACE(InspectorDOMDebuggerAgent) | 124 DEFINE_TRACE(InspectorDOMDebuggerAgent) |
| (...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 m_instrumentingAgents->removeInspectorDOMDebuggerAgent(this); | 624 m_instrumentingAgents->removeInspectorDOMDebuggerAgent(this); |
| 626 } | 625 } |
| 627 } | 626 } |
| 628 | 627 |
| 629 void InspectorDOMDebuggerAgent::didCommitLoadForLocalFrame(LocalFrame*) | 628 void InspectorDOMDebuggerAgent::didCommitLoadForLocalFrame(LocalFrame*) |
| 630 { | 629 { |
| 631 m_domBreakpoints.clear(); | 630 m_domBreakpoints.clear(); |
| 632 } | 631 } |
| 633 | 632 |
| 634 } // namespace blink | 633 } // namespace blink |
| OLD | NEW |