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 66d9b2c1788b9b2d37e92c25eca1df27c527d796..0f526f205e15cd7a44b76e308ffc53436d975ef0 100644 |
--- a/ui/views/controls/button/custom_button.cc |
+++ b/ui/views/controls/button/custom_button.cc |
@@ -403,6 +403,12 @@ void CustomButton::OnBlur() { |
SetState(STATE_NORMAL); |
} |
+void CustomButton::NotifyClick(const ui::Event& event) { |
+ Button::NotifyClick(event); |
+ if (ink_drop_delegate()) |
+ ink_drop_delegate()->OnAction(views::InkDropState::QUICK_ACTION); |
varkha
2015/11/27 22:07:50
If we are doing this in CustomButton then we shoul
bruthig
2015/12/07 18:44:46
Done.
|
+} |
+ |
bool CustomButton::IsChildWidget() const { |
return GetWidget() && GetWidget()->GetTopLevelWidget() != GetWidget(); |
} |