| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // DevToolsExternalAgentProxy implementation. | 26 // DevToolsExternalAgentProxy implementation. |
| 27 void DispatchOnClientHost(const std::string& message) override; | 27 void DispatchOnClientHost(const std::string& message) override; |
| 28 void ConnectionClosed() override; | 28 void ConnectionClosed() override; |
| 29 | 29 |
| 30 // DevToolsAgentHostImpl implementation. | 30 // DevToolsAgentHostImpl implementation. |
| 31 void Attach() override; | 31 void Attach() override; |
| 32 void Detach() override; | 32 void Detach() override; |
| 33 bool DispatchProtocolMessage(const std::string& message) override; | 33 bool DispatchProtocolMessage(const std::string& message) override; |
| 34 | 34 |
| 35 // DevToolsAgentHost implementation | 35 // DevToolsAgentHost implementation |
| 36 std::string GetType() override; | 36 Type GetType() override; |
| 37 std::string GetTitle() override; | 37 std::string GetTitle() override; |
| 38 GURL GetURL() override; | 38 GURL GetURL() override; |
| 39 GURL GetFaviconURL() override; | |
| 40 bool Activate() override; | 39 bool Activate() override; |
| 41 bool Inspect() override; | |
| 42 void Reload() override; | |
| 43 bool Close() override; | 40 bool Close() override; |
| 44 | 41 |
| 45 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; | 42 std::unique_ptr<DevToolsExternalAgentProxyDelegate> delegate_; |
| 46 std::string type_; | |
| 47 std::string title_; | |
| 48 GURL url_; | |
| 49 }; | 43 }; |
| 50 | 44 |
| 51 } // namespace content | 45 } // namespace content |
| 52 | 46 |
| 53 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ | 47 #endif // CONTENT_BROWSER_DEVTOOLS_FORWARDING_AGENT_HOST_H_ |
| OLD | NEW |