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

Unified Diff: ash/wm/screen_pinning_controller.cc

Issue 2622053004: ash: Restore previous show state after exiting fullscreen. (Closed)
Patch Set: Rebase Created 3 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
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager_unittest.cc ('k') | ash/wm/window_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/screen_pinning_controller.cc
diff --git a/ash/wm/screen_pinning_controller.cc b/ash/wm/screen_pinning_controller.cc
index 1fc61213dfeba80eb7f413977806d90eaf9b8aa2..8720048498c9aeafefc4f8feead861e68c644313 100644
--- a/ash/wm/screen_pinning_controller.cc
+++ b/ash/wm/screen_pinning_controller.cc
@@ -273,7 +273,7 @@ WmWindow* ScreenPinningController::CreateWindowDimmer(WmWindow* container) {
std::unique_ptr<WindowDimmer> window_dimmer =
base::MakeUnique<WindowDimmer>(container);
window_dimmer->SetDimOpacity(1); // Fully opaque.
- window_dimmer->window()->SetFullscreen();
+ window_dimmer->window()->SetFullscreen(true);
window_dimmer->window()->Show();
WmWindow* window = window_dimmer->window();
window_dimmers_->Set(container, std::move(window_dimmer));
« no previous file with comments | « ash/wm/dock/docked_window_layout_manager_unittest.cc ('k') | ash/wm/window_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698