| 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 CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 void Inspect(content::DevToolsAgentHost* agent_host) override; | 26 void Inspect(content::DevToolsAgentHost* agent_host) override; |
| 27 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, | 27 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, |
| 28 bool attached) override; | 28 bool attached) override; |
| 29 base::DictionaryValue* HandleCommand( | 29 base::DictionaryValue* HandleCommand( |
| 30 content::DevToolsAgentHost* agent_host, | 30 content::DevToolsAgentHost* agent_host, |
| 31 base::DictionaryValue* command_dict) override; | 31 base::DictionaryValue* command_dict) override; |
| 32 std::string GetTargetType(content::RenderFrameHost* host) override; | 32 std::string GetTargetType(content::RenderFrameHost* host) override; |
| 33 std::string GetTargetTitle(content::RenderFrameHost* host) override; | 33 std::string GetTargetTitle(content::RenderFrameHost* host) override; |
| 34 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( | 34 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( |
| 35 const GURL& url) override; | 35 const GURL& url) override; |
| 36 std::string GetDiscoveryPageHTML() override; |
| 37 std::string GetFrontendResource(const std::string& path) override; |
| 36 | 38 |
| 37 private: | 39 private: |
| 38 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; | 40 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; |
| 39 | 41 |
| 40 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); | 42 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); |
| 41 }; | 43 }; |
| 42 | 44 |
| 43 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 45 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
| OLD | NEW |