Index: views/controls/button/custom_button.h |
=================================================================== |
--- views/controls/button/custom_button.h (revision 56775) |
+++ views/controls/button/custom_button.h (working copy) |
@@ -63,6 +63,11 @@ |
} |
bool request_focus_on_press() const { return request_focus_on_press_; } |
+ // Returns true if the mouse pointer is over this control. Note that this |
+ // isn't the same as IsHotTracked() because the mouse may be over the control |
+ // when it's disabled. |
+ bool IsMouseHovered() const; |
+ |
protected: |
// Construct the Button with a Listener. See comment for Button's ctor. |
explicit CustomButton(ButtonListener* listener); |