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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 void didCreatePromise() override; | 121 void didCreatePromise() override; |
122 void didResolvePromise() override; | 122 void didResolvePromise() override; |
123 void didRejectPromise() override; | 123 void didRejectPromise() override; |
124 | 124 |
125 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); | 125 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); |
126 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); | 126 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); |
127 bool hasBreakpoint(Node*, int type); | 127 bool hasBreakpoint(Node*, int type); |
128 void setBreakpoint(ErrorString*, const String& eventName, const String* targ
etName); | 128 void setBreakpoint(ErrorString*, const String& eventName, const String* targ
etName); |
129 void removeBreakpoint(ErrorString*, const String& eventName, const String* t
argetName); | 129 void removeBreakpoint(ErrorString*, const String& eventName, const String* t
argetName); |
130 | 130 |
131 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(const RegisteredEventListener&, const AtomicString& eventType, EventTarget*,
const String& objectGroupId); | 131 void eventListeners(ExecutionContext*, EventTarget*, const String& objectGro
up, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::EventListener>>& listen
ersArray); |
| 132 void librariesEventListeners(ExecutionContext*, InjectedScript&, const Strin
g& objectId, const String& objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::D
OMDebugger::EventListener>>& listenersArray); |
| 133 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(v8::Local<v8::Object> handler, bool useCapture, const String& type, Executio
nContext*, const String& objectGroupId); |
132 | 134 |
133 void clear(); | 135 void clear(); |
134 | 136 |
135 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 137 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
136 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 138 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
137 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 139 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
138 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; | 140 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; |
139 }; | 141 }; |
140 | 142 |
141 } // namespace blink | 143 } // namespace blink |
142 | 144 |
143 | 145 |
144 #endif // !defined(InspectorDOMDebuggerAgent_h) | 146 #endif // !defined(InspectorDOMDebuggerAgent_h) |
OLD | NEW |