Let shift globally trigger slow animation mode.
commitcde5121d3738127628fa92cf270c45bd07f85f4c
authorvollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 19 Nov 2012 18:01:31 +0000 (19 18:01 +0000)
committervollick@chromium.org <vollick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 19 Nov 2012 18:01:31 +0000 (19 18:01 +0000)
treed35c1c67f462acaf0c7515b80dffe62a204e0f51
parent60cbfff44305b419aa22d91be11f5fa991589ab9
Let shift globally trigger slow animation mode.

A long time ago, we'd used an accelerator to link shift with slow animation
mode, but this affected real key combos so a more piecemeal approach was taken,
disabling/enabling slow animation modes for common ui operations. The problem
with this approach is that it didn't catch many important UI animations. The
fading in and fading out of context menus for example. This CL hooks into the
keyboard event stream at a very high level to enable/disable slow animation
mode. This has its downsides, too -- mainly that we end up with a specific bit
of business littering some very general code.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/11415050

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168552 0039d316-1c4b-4281-b951-d872f2087c98
ash/accelerators/accelerator_filter.cc
ash/launcher/launcher_view.cc
ash/wm/custom_frame_view_ash.cc
chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc