| Index: ui/views/controls/button/custom_button.cc
|
| diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
|
| index bb4550098ee142bdc6194be9f87886aecb609036..849465c26867638bdcfe101e0ab357b38da708e6 100644
|
| --- a/ui/views/controls/button/custom_button.cc
|
| +++ b/ui/views/controls/button/custom_button.cc
|
| @@ -287,6 +287,12 @@ void CustomButton::ShowContextMenu(const gfx::Point& p,
|
| View::ShowContextMenu(p, source_type);
|
| }
|
|
|
| +void CustomButton::OnDragStarted(const ui::LocatedEvent& event) {
|
| + Button::OnDragStarted(event);
|
| + if (ink_drop_delegate_)
|
| + ink_drop_delegate_->OnAction(InkDropState::HIDDEN);
|
| +}
|
| +
|
| void CustomButton::OnDragDone() {
|
| // Only reset the state to normal if the button isn't currently disabled
|
| // (since disabled buttons may still be able to be dragged).
|
|
|