| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "components/devtools_http_handler/devtools_http_handler_delegate.h" | 10 #include "components/devtools_http_handler/devtools_http_handler_delegate.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 explicit ShellDevToolsManagerDelegate(BrowserContext* browser_context); | 26 explicit ShellDevToolsManagerDelegate(BrowserContext* browser_context); |
| 27 ~ShellDevToolsManagerDelegate() override; | 27 ~ShellDevToolsManagerDelegate() override; |
| 28 | 28 |
| 29 // DevToolsManagerDelegate implementation. | 29 // DevToolsManagerDelegate implementation. |
| 30 void Inspect(BrowserContext* browser_context, | 30 void Inspect(BrowserContext* browser_context, |
| 31 DevToolsAgentHost* agent_host) override {} | 31 DevToolsAgentHost* agent_host) override {} |
| 32 void DevToolsAgentStateChanged(DevToolsAgentHost* agent_host, | 32 void DevToolsAgentStateChanged(DevToolsAgentHost* agent_host, |
| 33 bool attached) override {} | 33 bool attached) override {} |
| 34 base::DictionaryValue* HandleCommand(DevToolsAgentHost* agent_host, | 34 base::DictionaryValue* HandleCommand(DevToolsAgentHost* agent_host, |
| 35 base::DictionaryValue* command) override; | 35 base::DictionaryValue* command) override; |
| 36 scoped_ptr<DevToolsTarget> CreateNewTarget(const GURL& url) override; | |
| 37 void EnumerateTargets(TargetCallback callback) override; | |
| 38 std::string GetPageThumbnailData(const GURL& url) override; | |
| 39 | 36 |
| 40 private: | 37 private: |
| 41 BrowserContext* browser_context_; | 38 BrowserContext* browser_context_; |
| 42 | 39 |
| 43 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsManagerDelegate); | 40 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsManagerDelegate); |
| 44 }; | 41 }; |
| 45 | 42 |
| 46 } // namespace content | 43 } // namespace content |
| 47 | 44 |
| 48 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ | 45 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_ |
| OLD | NEW |