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

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

Issue 2667293002: [ash-md] Adds support for gesture to move selection in overview mode (Closed)
Patch Set: [ash-md] Adds support for gesture to move selection in overview mode (no skipping 1st) Created 3 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/common/wm/overview/window_selector.cc ('k') | ash/common/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/common/wm/overview/window_selector_controller.h
diff --git a/ash/common/wm/overview/window_selector_controller.h b/ash/common/wm/overview/window_selector_controller.h
index 3254a3702ba1dff8984f20e709133eb2a41eba17..830ee921100c252f3f0975b0133967c5c9354699 100644
--- a/ash/common/wm/overview/window_selector_controller.h
+++ b/ash/common/wm/overview/window_selector_controller.h
@@ -37,6 +37,14 @@ class ASH_EXPORT WindowSelectorController : public WindowSelectorDelegate {
// Returns true if window selection mode is active.
bool IsSelecting() const;
+ // Moves the current selection by |increment| items. Positive values of
+ // |increment| move the selection forward, negative values move it backward.
+ void IncrementSelection(int increment);
+
+ // Accepts current selection if any. Returns true if a selection was made,
+ // false otherwise.
+ bool AcceptSelection();
+
// Returns true if overview mode is restoring minimized windows so that they
// are visible during overview mode.
bool IsRestoringMinimizedWindows() const;
« no previous file with comments | « ash/common/wm/overview/window_selector.cc ('k') | ash/common/wm/overview/window_selector_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698