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

Unified Diff: ash/common/wm/overview/scoped_transform_overview_window.h

Issue 2148703002: [ash-md] Fixes a bug with setting window shape to mask header in overview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: [ash-md] Fixes a bug with setting window shape to mask header in overview (rebased) Created 4 years, 5 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/common/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/overview/scoped_transform_overview_window.h
diff --git a/ash/common/wm/overview/scoped_transform_overview_window.h b/ash/common/wm/overview/scoped_transform_overview_window.h
index e59310609a6a0650a313da80f88d86d88e4f019e..adf25f203f5157ca27fa5ead215d7f4f5d5a7f03 100644
--- a/ash/common/wm/overview/scoped_transform_overview_window.h
+++ b/ash/common/wm/overview/scoped_transform_overview_window.h
@@ -140,6 +140,10 @@ class ASH_EXPORT ScopedTransformOverviewWindow {
// Original window shape, if it was set on a window.
std::unique_ptr<SkRegion> original_window_shape_;
+ // True after the |original_window_shape_| has been set or after it has
+ // been determined that window shape was not originally set on the |window_|.
+ bool determined_original_window_shape_;
+
// If true, the window was minimized and should be restored if the window
// was not selected.
bool minimized_;
« no previous file with comments | « no previous file | ash/common/wm/overview/scoped_transform_overview_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698