| Index: ui/views/controls/button/custom_button.h
|
| diff --git a/ui/views/controls/button/custom_button.h b/ui/views/controls/button/custom_button.h
|
| index 44c2e1117971a2b85f7a0379c4ab34e953ac9c16..e4ce284350ee268bc76cccffb1960578cf19afe4 100644
|
| --- a/ui/views/controls/button/custom_button.h
|
| +++ b/ui/views/controls/button/custom_button.h
|
| @@ -151,6 +151,10 @@ class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate {
|
| // This implementation returns true if the left mouse button is down.
|
| virtual bool IsTriggerableEvent(const ui::Event& event);
|
|
|
| + // Returns true if the ink drop should be updated by CustomButton when
|
| + // OnClickCanceled() is called. This method is provided for subclasses.
|
| + virtual bool ShouldUpdateInkDropOnClickCanceled() const;
|
| +
|
| // Returns true if the button should become pressed when the user
|
| // holds the mouse down over the button. For this implementation,
|
| // we simply return IsTriggerableEvent(event).
|
|
|