Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: ui/views/controls/button/custom_button.h

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments. Make patch smaller temporarily. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fa0a215d1007b47ea0078735afccd6b8d0d6bae2..d1c8cc379d71f94b24b740f141d8ba2aa66134b3 100644
--- a/ui/views/controls/button/custom_button.h
+++ b/ui/views/controls/button/custom_button.h
@@ -19,8 +19,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 SetFocusable(true) to make it part of the
-// focus chain.
+// part of the focus chain, unless in accessibility mode. Call
+// SetFocusBehavior(CONTROL) 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.

Powered by Google App Engine
This is Rietveld 408576698