| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ | 5 #ifndef WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ |
| 6 #define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ | 6 #define WEBKIT_GLUE_WEBDEVTOOLSCLIENT_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 | 10 |
| 11 class WebDevToolsClientDelegate { | 11 class WebDevToolsClientDelegate { |
| 12 public: | 12 public: |
| 13 WebDevToolsClientDelegate() {} | 13 WebDevToolsClientDelegate() {} |
| 14 virtual ~WebDevToolsClientDelegate() {} | 14 virtual ~WebDevToolsClientDelegate() {} |
| 15 | 15 |
| 16 virtual void SendMessageToAgent(const std::string& raw_msg) = 0; | 16 virtual void SendMessageToAgent(const std::string& raw_msg) = 0; |
| 17 virtual void SendDebuggerCommandToAgent(const std::string& command) = 0; | 17 virtual void SendDebuggerCommandToAgent(const std::string& command) = 0; |
| 18 virtual void ActivateWindow() = 0; |
| 18 | 19 |
| 19 private: | 20 private: |
| 20 DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientDelegate); | 21 DISALLOW_COPY_AND_ASSIGN(WebDevToolsClientDelegate); |
| 21 }; | 22 }; |
| 22 | 23 |
| 23 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ | 24 #endif // WEBKIT_GLUE_WEBDEVTOOLSAGENT_DELEGATE_H_ |
| OLD | NEW |