| Index: ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| diff --git a/ash/frame/caption_buttons/frame_caption_button_container_view.cc b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| index b9dc7455ef995c5f684b380353e11b0b4490cc54..dd9e3eb0a020d85ce5e479e46c4550d4597aa6fe 100644
|
| --- a/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| +++ b/ash/frame/caption_buttons/frame_caption_button_container_view.cc
|
| @@ -322,15 +322,6 @@ bool FrameCaptionButtonContainerView::ShouldSizeButtonBeVisible() const {
|
|
|
| void FrameCaptionButtonContainerView::ButtonPressed(views::Button* sender,
|
| const ui::Event& event) {
|
| - // When shift-clicking, slow down animations for visual debugging.
|
| - // We used to do this via an event filter that looked for the shift key being
|
| - // pressed but this interfered with several normal keyboard shortcuts.
|
| - scoped_ptr<ui::ScopedAnimationDurationScaleMode> slow_duration_mode;
|
| - if (event.IsShiftDown()) {
|
| - slow_duration_mode.reset(new ui::ScopedAnimationDurationScaleMode(
|
| - ui::ScopedAnimationDurationScaleMode::SLOW_DURATION));
|
| - }
|
| -
|
| // Abort any animations of the button icons.
|
| SetButtonsToNormal(ANIMATE_NO);
|
|
|
|
|