2011-01-21 Pavel Podivilov <podivilov@chromium.org>
[WebKit-https.git] / Source / WebCore / inspector / InspectorBrowserDebuggerAgent.h
index 6af31e8..0ffa85c 100644 (file)
@@ -46,6 +46,7 @@ namespace WebCore {
 class Element;
 class InspectorController;
 class InspectorObject;
+class KURL;
 class Node;
 
 class InspectorBrowserDebuggerAgent {
@@ -58,6 +59,8 @@ public:
 
     virtual ~InspectorBrowserDebuggerAgent();
 
+    void inspectedURLChanged(const KURL&);
+
     // BrowserDebugger API for InspectorFrontend
     void setXHRBreakpoint(const String& url);
     void removeXHRBreakpoint(const String& url);
@@ -75,17 +78,18 @@ public:
     void willSendXMLHttpRequest(const String& url);
     void pauseOnNativeEventIfNeeded(const String& categoryType, const String& eventName, bool synchronous);
 
-    void clearForPageNavigation();
 private:
     InspectorBrowserDebuggerAgent(InspectorController*);
 
+    void restoreStickyBreakpoint(PassRefPtr<InspectorObject> breakpoint);
+
     void descriptionForDOMEvent(Node* target, long breakpointType, bool insertion, InspectorObject* description);
     void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set);
     bool hasBreakpoint(Node*, long type);
     void discardBindings();
 
     InspectorController* m_inspectorController;
-    HashMap<Node*, uint32_t> m_breakpoints;
+    HashMap<Node*, uint32_t> m_domBreakpoints;
     HashSet<String> m_eventListenerBreakpoints;
     HashSet<String> m_XHRBreakpoints;
     bool m_hasXHRBreakpointWithEmptyURL;