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

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

Issue 2499453002: Add ink drop ripple to overview mode button (Closed)
Patch Set: Rebased Created 4 years, 1 month 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
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 a8318609fb6015d627d7396f6d09a470621c220b..3254a3702ba1dff8984f20e709133eb2a41eba17 100644
--- a/ash/common/wm/overview/window_selector_controller.h
+++ b/ash/common/wm/overview/window_selector_controller.h
@@ -30,10 +30,9 @@ class ASH_EXPORT WindowSelectorController : public WindowSelectorDelegate {
// at certain times, such as when the lock screen is visible.
static bool CanSelect();
- // Enters overview mode. This is essentially the window cycling mode however
- // not released on releasing the alt key and allows selecting with the mouse
- // or touch rather than keypresses.
- void ToggleOverview();
+ // Attempts to toggle overview mode and returns true if successful (showing
+ // overview would be unsuccessful if there are no windows to show).
+ bool ToggleOverview();
// Returns true if window selection mode is active.
bool IsSelecting() const;
« no previous file with comments | « ash/common/system/web_notification/web_notification_tray.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