Material Design Ink Drop Animation
commit114d7c4a7778c65b5986a0d2dae9fca46208ae26
authorjonross <jonross@chromium.org>
Thu, 16 Jul 2015 17:42:23 +0000 (16 10:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 17:43:00 +0000 (16 17:43 +0000)
treed0e8b2a8a9f20e0caf63ef5a9192e04673a9e4d7
parent52106409e6a7dfa112e0237e2cc9fcb9bf91b8e8
Material Design Ink Drop Animation

Implements a controller for ui::Layer animations to provide visual feedback for
touch input.

New flags have been added to ui_base_switches:
kMaterialDesignInkDrop - defines the form of visual feedback desired
kMaterialDesignInkDropCircle - value for kMaterialDesignInkDrop that defines feedback as a circle.
kMaterialDesignInkDropSquare - value for kMaterialDesignInkDrop that defines feedback as a square.

kMaterialDesignAnimationSpeed - defines the speed at which Material Design animations occur
kMaterialDesignAnimationSpeedFast - value for kMaterialDesignAnimationSpeed that defines fast animations
kMaterialDesignAnimationSpeedSlow - value for kMaterialDesignAnimationSpeed that defines slow animations
TEST=manual testing on device
BUG=420761, 501369

Review URL: https://codereview.chromium.org/1181743004

Cr-Commit-Position: refs/heads/master@{#339066}
chrome/app/generated_resources.grd
chrome/browser/about_flags.cc
tools/metrics/histograms/histograms.xml
ui/base/ui_base_switches.cc
ui/base/ui_base_switches.h
ui/views/animation/ink_drop_animation_controller.cc [new file with mode: 0644]
ui/views/animation/ink_drop_animation_controller.h [new file with mode: 0644]
ui/views/views.gyp