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

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

Issue 7740047: DevTool: [OS_CHROMEOS] window doesn't open after detaching it for the current tab. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 8d3dea9fe931ab20e5d2bb50f5dd2003eaea8acc..6c970ede7b6fc2c9b444ee75b48bd58c5360ea8a 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -465,7 +465,11 @@ Browser* Browser::CreateForApp(Type type,
// static
Browser* Browser::CreateForDevTools(Profile* profile) {
+#if defined(OS_CHROMEOS)
+ CreateParams params(TYPE_TABBED, profile);
+#else
CreateParams params(TYPE_POPUP, profile);
+#endif
params.app_name = DevToolsWindow::kDevToolsApp;
return CreateWithParams(params);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698