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

Unified Diff: ash/wm/caption_buttons/maximize_bubble_controller.cc

Issue 59043013: Add flag to enable immersive fullscreen for v2 apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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: ash/wm/caption_buttons/maximize_bubble_controller.cc
diff --git a/ash/wm/caption_buttons/maximize_bubble_controller.cc b/ash/wm/caption_buttons/maximize_bubble_controller.cc
index 413cc0e67682748aea131ccccd430f88eb48c83c..6148e17317b969fb35ea4a043a47da6350dac7c7 100644
--- a/ash/wm/caption_buttons/maximize_bubble_controller.cc
+++ b/ash/wm/caption_buttons/maximize_bubble_controller.cc
@@ -818,8 +818,10 @@ void MaximizeBubbleController::RequestDestructionThroughOwner() {
}
void MaximizeBubbleController::CreateBubble() {
- if (!bubble_)
+ if (!bubble_) {
bubble_ = new Bubble(this, appearance_delay_ms_, snap_type_for_creation_);
+ frame_maximize_button_->OnMaximizeBubbleShown(bubble_->GetWidget());
+ }
timer_->Stop();
}

Powered by Google App Engine
This is Rietveld 408576698