summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h')
-rw-r--r--Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h b/Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h
index 7c0bc8d..add0c05 100644
--- a/Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h
+++ b/Source/WebCore/inspector/InspectorBrowserDebuggerAgent.h
@@ -36,10 +36,8 @@
#include "InspectorDebuggerAgent.h"
#include "PlatformString.h"
#include <wtf/HashMap.h>
-#include <wtf/HashSet.h>
#include <wtf/PassOwnPtr.h>
#include <wtf/RefCounted.h>
-#include <wtf/text/StringHash.h>
namespace WebCore {
@@ -62,19 +60,15 @@ public:
virtual ~InspectorBrowserDebuggerAgent();
- void setFrontend(InspectorFrontend*);
void clearFrontend();
- void setAllBrowserBreakpoints(ErrorString* error, PassRefPtr<InspectorObject>);
- void inspectedURLChanged(const String& url);
-
// BrowserDebugger API for InspectorFrontend
- void setXHRBreakpoint(ErrorString* error, const String& url);
- void removeXHRBreakpoint(ErrorString* error, const String& url);
- void setEventListenerBreakpoint(ErrorString* error, const String& eventName);
- void removeEventListenerBreakpoint(ErrorString* error, const String& eventName);
- void setDOMBreakpoint(ErrorString* error, long nodeId, long type);
- void removeDOMBreakpoint(ErrorString* error, long nodeId, long type);
+ void setXHRBreakpoint(ErrorString*, const String& url);
+ void removeXHRBreakpoint(ErrorString*, const String& url);
+ void setEventListenerBreakpoint(ErrorString*, const String& eventName);
+ void removeEventListenerBreakpoint(ErrorString*, const String& eventName);
+ void setDOMBreakpoint(ErrorString*, int nodeId, int type);
+ void removeDOMBreakpoint(ErrorString*, int nodeId, int type);
// InspectorInstrumentation API
void willInsertDOMNode(Node*, Node* parent);
@@ -93,11 +87,9 @@ private:
virtual void debuggerWasDisabled();
void disable();
- void restoreStickyBreakpoint(PassRefPtr<InspectorObject> breakpoint);
-
- void descriptionForDOMEvent(Node* target, long breakpointType, bool insertion, InspectorObject* description);
+ void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion, InspectorObject* description);
void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set);
- bool hasBreakpoint(Node*, long type);
+ bool hasBreakpoint(Node*, int type);
void discardBindings();
void clear();
@@ -108,9 +100,6 @@ private:
InspectorDebuggerAgent* m_debuggerAgent;
InspectorAgent* m_inspectorAgent;
HashMap<Node*, uint32_t> m_domBreakpoints;
- HashSet<String> m_eventListenerBreakpoints;
- HashSet<String> m_XHRBreakpoints;
- bool m_hasXHRBreakpointWithEmptyURL;
};
} // namespace WebCore