summaryrefslogtreecommitdiffstats
path: root/ash/wm/overview/window_selector_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/wm/overview/window_selector_controller.h')
-rw-r--r--ash/wm/overview/window_selector_controller.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ash/wm/overview/window_selector_controller.h b/ash/wm/overview/window_selector_controller.h
index 8d4a625..3a87904 100644
--- a/ash/wm/overview/window_selector_controller.h
+++ b/ash/wm/overview/window_selector_controller.h
@@ -48,6 +48,8 @@ class ASH_EXPORT WindowSelectorController
// are visible during overview mode.
bool IsRestoringMinimizedWindows() const;
+ bool swipe_to_close_disabled() const { return swipe_to_close_disabled_; }
+
// WindowSelectorDelegate:
void OnSelectionEnded() override;
@@ -60,6 +62,9 @@ class ASH_EXPORT WindowSelectorController
scoped_ptr<WindowSelector> window_selector_;
base::Time last_selection_time_;
+ // Tracks whether the "Swipe-to-close" feature is disabled.
+ bool swipe_to_close_disabled_;
+
DISALLOW_COPY_AND_ASSIGN(WindowSelectorController);
};