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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 void didRejectPromise() override; | 117 void didRejectPromise() override; |
118 | 118 |
119 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); | 119 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); |
120 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); | 120 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); |
121 bool hasBreakpoint(Node*, int type); | 121 bool hasBreakpoint(Node*, int type); |
122 void setBreakpoint(ErrorString*, const String& eventName, const String* targ
etName); | 122 void setBreakpoint(ErrorString*, const String& eventName, const String* targ
etName); |
123 void removeBreakpoint(ErrorString*, const String& eventName, const String* t
argetName); | 123 void removeBreakpoint(ErrorString*, const String& eventName, const String* t
argetName); |
124 | 124 |
125 void didAddBreakpoint(); | 125 void didAddBreakpoint(); |
126 void didRemoveBreakpoint(); | 126 void didRemoveBreakpoint(); |
127 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(const RegisteredEventListener&, const AtomicString& eventType, EventTarget*,
const String& objectGroupId); | 127 |
| 128 void eventListeners(InjectedScript&, v8::Local<v8::Value>, const String& obj
ectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::EventListener>>& l
istenersArray); |
| 129 void frameworkUserEventListeners(InjectedScript&, v8::Local<v8::Value>, cons
t String& objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::Event
Listener>>& listenersArray); |
| 130 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(InjectedScript&, v8::Local<v8::Object> handler, TypeBuilder::DOMDebugger::Ev
entListener::ListenerType::Enum, bool useCapture, const String& type, const Stri
ng& objectGroupId); |
128 | 131 |
129 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 132 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
130 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 133 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
131 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 134 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
132 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; | 135 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; |
133 }; | 136 }; |
134 | 137 |
135 } // namespace blink | 138 } // namespace blink |
136 | 139 |
137 | 140 |
138 #endif // !defined(InspectorDOMDebuggerAgent_h) | 141 #endif // !defined(InspectorDOMDebuggerAgent_h) |
OLD | NEW |