Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: content/shell/browser/shell_devtools_manager_delegate.h

Issue 1114503002: [DevTools] Cleanup DevToolsTarget and DevToolsManagerDelegate after moving to devtools_discovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devtools-discovery-chrome
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/public/browser/devtools_target.h ('k') | content/shell/browser/shell_devtools_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698