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

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

Issue 118283003: Make Widget::Show() creates active windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more ShowInactive() calls Created 6 years, 11 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/views/fullscreen_exit_bubble_views.cc
diff --git a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
index 231725a3269ad0c205952c9ce0eff3c463b37f96..e4365eb7b5d7628f4891f27dc5b72216469810b5 100644
--- a/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
+++ b/chrome/browser/ui/views/fullscreen_exit_bubble_views.cc
@@ -293,7 +293,7 @@ FullscreenExitBubbleViews::FullscreenExitBubbleViews(
// that it is sliding off the top of the screen.
popup_->GetRootView()->SetLayoutManager(NULL);
view_->SetBounds(0, 0, size.width(), size.height());
- popup_->Show(); // This does not activate the popup.
+ popup_->ShowInactive(); // This does not activate the popup.
popup_->AddObserver(this);

Powered by Google App Engine
This is Rietveld 408576698