Chromium Code Reviews| 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 00864aec1d65506faf8f638a1a8b584a0f836526..ea3dfae79df00333209fd47b274293831ab0365d 100644 |
| --- a/ui/views/controls/button/custom_button.h |
| +++ b/ui/views/controls/button/custom_button.h |
| @@ -20,8 +20,8 @@ class InkDropDelegate; |
| // A button with custom rendering. The base of ImageButton and LabelButton. |
| // Note that this type of button is not focusable by default and will not be |
| -// part of the focus chain. Call SetFocusBehavior(FocusBehavior::ALWAYS) to |
| -// make it part of the focus chain. |
| +// part of the focus chain, unless in accessibility mode. Call |
|
tapted
2016/04/20 06:05:57
Where's the "unless in accessibility mode" bit tri
karandeepb
2016/05/03 02:54:12
This inherits from Button, which has a SetFocusBeh
|
| +// Button::ConfigureDefaultFocus() to make it part of the focus chain. |
| class VIEWS_EXPORT CustomButton : public Button, public gfx::AnimationDelegate { |
| public: |
| // An enum describing the events on which a button should notify its listener. |