| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void setEnabled(bool); |
| 117 | 118 |
| 118 void eventListeners(InjectedScript&, v8::Local<v8::Value>, const String& obj
ectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::EventListener>>& l
istenersArray); | 119 void eventListeners(InjectedScript&, v8::Local<v8::Value>, const String& obj
ectGroup, RefPtr<TypeBuilder::Array<TypeBuilder::DOMDebugger::EventListener>>& l
istenersArray); |
| 119 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(InjectedScript&, v8::Local<v8::Object> handler, bool useCapture, const Strin
g& type, const String& objectGroupId); | 120 PassRefPtr<TypeBuilder::DOMDebugger::EventListener> buildObjectForEventListe
ner(InjectedScript&, v8::Local<v8::Object> handler, bool useCapture, const Strin
g& type, const String& objectGroupId); |
| 120 | 121 |
| 121 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; | 122 RawPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager; |
| 122 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; | 123 RawPtrWillBeMember<InspectorDOMAgent> m_domAgent; |
| 123 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; | 124 RawPtrWillBeMember<InspectorDebuggerAgent> m_debuggerAgent; |
| 124 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; | 125 WillBeHeapHashMap<RawPtrWillBeMember<Node>, uint32_t> m_domBreakpoints; |
| 125 }; | 126 }; |
| 126 | 127 |
| 127 } // namespace blink | 128 } // namespace blink |
| 128 | 129 |
| 129 | 130 |
| 130 #endif // !defined(InspectorDOMDebuggerAgent_h) | 131 #endif // !defined(InspectorDOMDebuggerAgent_h) |
| OLD | NEW |