summaryrefslogtreecommitdiffstats
path: root/ash/ash_switches.cc
diff options
context:
space:
mode:
authornsatragno@chromium.org <nsatragno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-04 22:51:06 +0000
committernsatragno@chromium.org <nsatragno@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-04 22:51:06 +0000
commit8847487c1ce73b282e34b205b0ed816db3aafc04 (patch)
tree489fbe9c9fb67db788b8cccb9b1b53ed2190a870 /ash/ash_switches.cc
parent804e400f6a89cc5cdf23cedba9505a46616ac644 (diff)
downloadchromium_src-8847487c1ce73b282e34b205b0ed816db3aafc04.zip
chromium_src-8847487c1ce73b282e34b205b0ed816db3aafc04.tar.gz
chromium_src-8847487c1ce73b282e34b205b0ed816db3aafc04.tar.bz2
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
Diffstat (limited to 'ash/ash_switches.cc')
-rw-r--r--ash/ash_switches.cc4
1 files changed, 4 insertions, 0 deletions
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";