Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / content / shell / browser / shell_devtools_manager_delegate.h
blob4671d184dc5fde4c1b06e4e761527dd7767c544a
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_
6 #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "components/devtools_http_handler/devtools_http_handler_delegate.h"
11 #include "content/public/browser/devtools_manager_delegate.h"
13 namespace devtools_http_handler {
14 class DevToolsHttpHandler;
17 namespace content {
19 class BrowserContext;
21 class ShellDevToolsManagerDelegate : public DevToolsManagerDelegate {
22 public:
23 static devtools_http_handler::DevToolsHttpHandler* CreateHttpHandler(
24 BrowserContext* browser_context);
26 explicit ShellDevToolsManagerDelegate(BrowserContext* browser_context);
27 ~ShellDevToolsManagerDelegate() override;
29 // DevToolsManagerDelegate implementation.
30 void Inspect(BrowserContext* browser_context,
31 DevToolsAgentHost* agent_host) override {}
32 void DevToolsAgentStateChanged(DevToolsAgentHost* agent_host,
33 bool attached) override {}
34 base::DictionaryValue* HandleCommand(DevToolsAgentHost* agent_host,
35 base::DictionaryValue* command) override;
37 private:
38 BrowserContext* browser_context_;
40 DISALLOW_COPY_AND_ASSIGN(ShellDevToolsManagerDelegate);
43 } // namespace content
45 #endif // CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_MANAGER_DELEGATE_H_