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

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

Issue 1268353005: [DevTools] Support JQuery event listeners (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 5 years, 4 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
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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName , const String* targetName); 107 PassRefPtr<JSONObject> preparePauseOnNativeEventData(const String& eventName , const String* targetName);
108 108
109 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion , JSONObject* description); 109 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion , JSONObject* description);
110 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); 110 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set);
111 bool hasBreakpoint(Node*, int type); 111 bool hasBreakpoint(Node*, int type);
112 void setBreakpoint(ErrorString*, const String& eventName, const String* targ etName); 112 void setBreakpoint(ErrorString*, const String& eventName, const String* targ etName);
113 void removeBreakpoint(ErrorString*, const String& eventName, const String* t argetName); 113 void removeBreakpoint(ErrorString*, const String& eventName, const String* t argetName);
114 114
115 void didAddBreakpoint(); 115 void didAddBreakpoint();
116 void didRemoveBreakpoint(); 116 void didRemoveBreakpoint();
117 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe ner(const RegisteredEventListener&, const AtomicString& eventType, EventTarget*, const String& objectGroupId); 117
118 void eventListeners(InjectedScript&, v8::Local<v8::Value>, const String& obj ectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::EventListener>>& l istenersArray);
119 void frameworkUserEventListeners(InjectedScript&, v8::Local<v8::Value>, cons t String& objectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::Event Listener>>& listenersArray);
120 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);
118 121
119 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; 122 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
120 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; 123 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent;
121 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; 124 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent;
122 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; 125 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints;
123 }; 126 };
124 127
125 } // namespace blink 128 } // namespace blink
126 129
127 130
128 #endif // !defined(InspectorDOMDebuggerAgent_h) 131 #endif // !defined(InspectorDOMDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698