From 8847487c1ce73b282e34b205b0ed816db3aafc04 Mon Sep 17 00:00:00 2001 From: "nsatragno@chromium.org" Date: Fri, 4 Jul 2014 22:51:06 +0000 Subject: Added text filtering to Overview Mode This patch adds a text widget to the window overview in Ash that allows the user to filter the windows, making it easier to select among multiple active items. Windows that do not match the pattern are set to 0.5 transparency and their selection is prevented. The pretarget event handler in WindowSelector has been removed in favour of handling the key events in the widget, which produces cleaner code. BUG=388726 TEST=WindowSelectorTest.BasicTextFiltering TBR=oshima@chromium.org Review URL: https://codereview.chromium.org/358553004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@281450 0039d316-1c4b-4281-b951-d872f2087c98 --- ash/ash_switches.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ash/ash_switches.cc') diff --git a/ash/ash_switches.cc b/ash/ash_switches.cc index 48b0e93..87ffcc4 100644 --- a/ash/ash_switches.cc +++ b/ash/ash_switches.cc @@ -54,6 +54,10 @@ const char kAshEnableMagnifierKeyScroller[] = "ash-enable-magnifier-key-scroller"; #endif +// Enables text filtering with the keyboard in Overview Mode. +const char kAshDisableTextFilteringInOverviewMode[] = + "ash-disable-text-filtering-in-overview-mode"; + // Enables software based mirroring. const char kAshEnableSoftwareMirroring[] = "ash-enable-software-mirroring"; -- cgit v1.1