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

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

Issue 10916274: Ensure that windows belonging to a different profile show up when the corresponding user avatar is … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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/ui/views/frame/browser_frame_win.h ('k') | 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_frame_win.cc
===================================================================
--- chrome/browser/ui/views/frame/browser_frame_win.cc (revision 156143)
+++ chrome/browser/ui/views/frame/browser_frame_win.cc (working copy)
@@ -349,7 +349,17 @@
views::NativeWidgetWin::SetFullscreen(fullscreen);
}
+void BrowserFrameWin::Activate() {
+ // In Windows 8 metro mode we have only one window visible at any given time.
sky 2012/09/12 23:19:01 I don't understand why this is necessary. What hap
+ // Calling Show here ensures that the window being activated is visible.
+ if (base::win::IsMetroProcess()) {
+ Show();
+ } else {
+ views::NativeWidgetWin::Activate();
+ }
+}
+
////////////////////////////////////////////////////////////////////////////////
// BrowserFrameWin, NativeBrowserFrame implementation:
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698