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

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

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_controller.h ('k') | ash/wm/gestures/overview_gesture_handler.h » ('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.cc
diff --git a/ash/common/wm/overview/window_selector_controller.cc b/ash/common/wm/overview/window_selector_controller.cc
index 28931f21ddd77bb29e7fa4083313a068197cdc14..2c8b4efa2cf05370fa66a9ea48442e2d6f419fd5 100644
--- a/ash/common/wm/overview/window_selector_controller.cc
+++ b/ash/common/wm/overview/window_selector_controller.cc
@@ -75,6 +75,16 @@ bool WindowSelectorController::IsSelecting() const {
return window_selector_.get() != NULL;
}
+void WindowSelectorController::IncrementSelection(int increment) {
+ DCHECK(IsSelecting());
+ window_selector_->IncrementSelection(increment);
+}
+
+bool WindowSelectorController::AcceptSelection() {
+ DCHECK(IsSelecting());
+ return window_selector_->AcceptSelection();
+}
+
bool WindowSelectorController::IsRestoringMinimizedWindows() const {
return window_selector_.get() != NULL &&
window_selector_->restoring_minimized_windows();
« no previous file with comments | « ash/common/wm/overview/window_selector_controller.h ('k') | ash/wm/gestures/overview_gesture_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698