| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ | |
| 6 #define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 namespace WebKit { | |
| 11 class WebString; | |
| 12 } | |
| 13 | |
| 14 class WebDevToolsClientDelegate { | |
| 15 public: | |
| 16 WebDevToolsClientDelegate() {} | |
| 17 virtual ~WebDevToolsClientDelegate() {} | |
| 18 | |
| 19 virtual void SendMessageToAgent(const WebKit::WebString& class_name, | |
| 20 const WebKit::WebString& method_name, | |
| 21 const WebKit::WebString& param1, | |
| 22 const WebKit::WebString& param2, | |
| 23 const WebKit::WebString& param3) = 0; | |
| 24 virtual void SendDebuggerCommandToAgent(const WebKit::WebString& command) = 0; | |
| 25 | |
| 26 virtual void ActivateWindow() = 0; | |
| 27 virtual void CloseWindow() = 0; | |
| 28 virtual void DockWindow() = 0; | |
| 29 virtual void UndockWindow() = 0; | |
| 30 virtual void ToggleInspectElementMode(bool enabled) = 0; | |
| 31 | |
| 32 private: | |
| 33 DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientDelegate); | |
| 34 }; | |
| 35 | |
| 36 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ | |
| OLD | NEW |