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 11ea15bb9a72c5c1fa2d6fb5b2215a73d9d0d727..5cb521b9ebcb66fdae7bbb7c8b1969b1cd09519e 100644 |
--- a/ui/views/controls/button/custom_button.cc |
+++ b/ui/views/controls/button/custom_button.cc |
@@ -399,6 +399,10 @@ bool CustomButton::ShouldEnterHoveredState() { |
return check_mouse_position && IsMouseHovered(); |
} |
+bool CustomButton::ShouldShowInkDropHover() const { |
+ return enabled() && IsMouseHovered() && !InDrag(); |
+} |
+ |
//////////////////////////////////////////////////////////////////////////////// |
// CustomButton, View overrides (protected): |
@@ -425,8 +429,4 @@ void CustomButton::OnClickCanceled(const ui::Event& event) { |
Button::OnClickCanceled(event); |
} |
-bool CustomButton::ShouldShowInkDropHover() const { |
- return enabled() && IsMouseHovered() && !InDrag(); |
-} |
- |
} // namespace views |