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

Unified Diff: chrome/browser/ui/browser.cc

Issue 251653003: Introduces DevToolsManagerDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add InspectWorker() to WebContents, WebContentsImpl, WebContentsDelegate and Browser. Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 141171682af4670513c70420410e98df986bd513..6d7d6f7cef4c65fedfc80e76fd671065f3dc947a 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1216,6 +1216,10 @@ bool Browser::PreHandleGestureEvent(content::WebContents* source,
return false;
}
+void Browser::InspectWorker(content::DevToolsAgentHost* agent_host) {
+ DevToolsWindow::OpenDevToolsWindowForWorker(profile_, agent_host);
+}
+
bool Browser::IsMouseLocked() const {
return fullscreen_controller_->IsMouseLocked();
}

Powered by Google App Engine
This is Rietveld 408576698