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

Unified Diff: ash/wm/overview/window_selector_controller.h

Issue 690103008: Implemented swipe to close in overview mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed flackr's comments from Patch Set 7. Created 5 years, 10 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/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_selector_controller.h
diff --git a/ash/wm/overview/window_selector_controller.h b/ash/wm/overview/window_selector_controller.h
index 8d4a625e13e72ec9aab2c160e03e59900d2648f6..3a879040165aa16fec6ca01632160d2eaa7112b9 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);
};
« no previous file with comments | « ash/wm/overview/window_selector.cc ('k') | ash/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698