| 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_WEBDEVTOOLSAGENT_DELEGATE_H_ | |
| 6 #define WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 | |
| 10 namespace WebKit { | |
| 11 class WebString; | |
| 12 } | |
| 13 | |
| 14 class WebDevToolsAgentDelegate { | |
| 15 public: | |
| 16 WebDevToolsAgentDelegate() {} | |
| 17 virtual ~WebDevToolsAgentDelegate() {} | |
| 18 | |
| 19 virtual void SendMessageToClient(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 | |
| 25 // Invalidates widget which leads to the repaint. | |
| 26 virtual void ForceRepaint() = 0; | |
| 27 | |
| 28 // Returns the id of the entity hosting this agent. | |
| 29 virtual int GetHostId() = 0; | |
| 30 | |
| 31 private: | |
| 32 DISALLOW_COPY_AND_ASSIGN(WebDevToolsAgentDelegate); | |
| 33 }; | |
| 34 | |
| 35 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ | |
| OLD | NEW |