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

Unified Diff: chrome/browser/ui/webui/inspect_ui.h

Issue 2263843002: DevTools: merge devtools target with devtools host, part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing 3 Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/inspect_ui.h
diff --git a/chrome/browser/ui/webui/inspect_ui.h b/chrome/browser/ui/webui/inspect_ui.h
index 9faee68f28267e87c740da3700196799ad58a239..e44f85ba24c7b1c47fb6706e128111ea534a53e1 100644
--- a/chrome/browser/ui/webui/inspect_ui.h
+++ b/chrome/browser/ui/webui/inspect_ui.h
@@ -22,6 +22,10 @@ class Value;
class ListValue;
}
+namespace content {
+class DevToolsAgentHost;
+}
+
class Browser;
class DevToolsTargetsUIHandler;
class DevToolsTargetImpl;
@@ -71,8 +75,9 @@ class InspectUI : public content::WebUIController,
DevToolsTargetsUIHandler* FindTargetHandler(
const std::string& source_id);
- DevToolsTargetImpl* FindTarget(const std::string& source_id,
- const std::string& target_id);
+ scoped_refptr<content::DevToolsAgentHost> FindTarget(
+ const std::string& source_id,
+ const std::string& target_id);
void PopulateTargets(const std::string& source_id,
const base::ListValue& targets);
« no previous file with comments | « chrome/browser/resources/inspect/inspect.js ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698