Index: webkit/api/public/WebDevToolsAgent.h |
=================================================================== |
--- webkit/api/public/WebDevToolsAgent.h (revision 30797) |
+++ webkit/api/public/WebDevToolsAgent.h (working copy) |
@@ -34,11 +34,17 @@ |
#include "WebCommon.h" |
namespace WebKit { |
+class WebDevToolsAgentClient; |
class WebString; |
+class WebView; |
struct WebPoint; |
class WebDevToolsAgent { |
public: |
+ WEBKIT_API static WebDevToolsAgent* create(WebView*, WebDevToolsAgentClient*); |
+ |
+ virtual ~WebDevToolsAgent() {} |
+ |
virtual void attach() = 0; |
virtual void detach() = 0; |
@@ -63,10 +69,7 @@ |
// Installs dispatch handle that is going to be called periodically |
// while on a breakpoint. |
- static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler); |
- |
-protected: |
- ~WebDevToolsAgent() {} |
+ WEBKIT_API static void setMessageLoopDispatchHandler(MessageLoopDispatchHandler); |
}; |
} // namespace WebKit |