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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10258007: Make so in metro mode popups are background tabs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/views/frame/browser_view.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_view.cc (revision 134390)
+++ chrome/browser/ui/views/frame/browser_view.cc (working copy)
@@ -1309,6 +1309,8 @@
GetWidget()->GetNativeView()).size();
return browser::DispositionForPopupBounds(
bounds, window_size.width(), window_size.height());
+#elif defined(OS_WIN)
+ return (base::win::GetMetroModule() == NULL) ? NEW_POPUP : NEW_BACKGROUND_TAB;
sky 2012/04/27 23:34:53 Add a comment as to why we're doing this.
#else
return NEW_POPUP;
#endif
« 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