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 12 matching lines...) Expand all Loading... | |
23 | 23 |
24 // content::DevToolsManagerDelegate implementation. | 24 // content::DevToolsManagerDelegate implementation. |
25 void Inspect(content::DevToolsAgentHost* agent_host) override; | 25 void Inspect(content::DevToolsAgentHost* agent_host) override; |
26 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, | 26 void DevToolsAgentStateChanged(content::DevToolsAgentHost* agent_host, |
27 bool attached) override; | 27 bool attached) override; |
28 base::DictionaryValue* HandleCommand( | 28 base::DictionaryValue* HandleCommand( |
29 content::DevToolsAgentHost* agent_host, | 29 content::DevToolsAgentHost* agent_host, |
30 base::DictionaryValue* command_dict) override; | 30 base::DictionaryValue* command_dict) override; |
31 std::string GetTargetType(content::RenderFrameHost* host) override; | 31 std::string GetTargetType(content::RenderFrameHost* host) override; |
32 std::string GetTargetTitle(content::RenderFrameHost* host) override; | 32 std::string GetTargetTitle(content::RenderFrameHost* host) override; |
33 scoped_refptr<content::DevToolsAgentHost> CreateNewTarget( | |
34 const GURL& url) override; | |
33 | 35 |
34 private: | 36 private: |
37 std::unique_ptr<base::DictionaryValue> HandleCreateTargetCommand( | |
38 base::DictionaryValue* command_dict); | |
dgozman
2016/08/25 01:08:11
style: 4 spaces
| |
35 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; | 39 std::unique_ptr<DevToolsNetworkProtocolHandler> network_protocol_handler_; |
36 | 40 |
37 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); | 41 DISALLOW_COPY_AND_ASSIGN(ChromeDevToolsManagerDelegate); |
38 }; | 42 }; |
39 | 43 |
40 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ | 44 #endif // CHROME_BROWSER_DEVTOOLS_CHROME_DEVTOOLS_MANAGER_DELEGATE_H_ |
OLD | NEW |