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

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_manager.h

Issue 588193003: Defer maximize mode bounds updates until after exiting overview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test WindowAnimationsTest.CrossFadeToBoundsFromTransform Created 6 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 | « no previous file | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_window_manager.h
diff --git a/ash/wm/maximize_mode/maximize_mode_window_manager.h b/ash/wm/maximize_mode/maximize_mode_window_manager.h
index 08146210bb43770cb64efa87fd4bea8c10b1912e..423537f4e37e00142c506fd7f10d691d219526ad 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_manager.h
+++ b/ash/wm/maximize_mode/maximize_mode_window_manager.h
@@ -86,6 +86,10 @@ class ASH_EXPORT MaximizeModeWindowManager : public aura::WindowObserver,
// Restore all windows to their previous state.
void RestoreAllWindows();
+ // Set whether to defer bounds updates on all tracked windows. When set to
+ // false bounds will be updated as they may be stale.
+ void SetDeferBoundsUpdates(bool defer_bounds_updates);
+
// If the given window should be handled by us, this function will maximize it
// and add it to the list of known windows (remembering the initial show
// state).
« no previous file with comments | « no previous file | ash/wm/maximize_mode/maximize_mode_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698