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

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

Issue 1690543004: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed review comments. 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/image_button.h
diff --git a/ui/views/controls/button/image_button.h b/ui/views/controls/button/image_button.h
index 71311fe08f432fbb4bbd188e2a233fb941311d67..bbe748f18d1e3860a1feb26208e91db22746dd28 100644
--- a/ui/views/controls/button/image_button.h
+++ b/ui/views/controls/button/image_button.h
@@ -19,9 +19,8 @@ class Painter;
// An image button.
// 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(FocusBehavior::CONTROL) to make it part of the focus chain.
class VIEWS_EXPORT ImageButton : public CustomButton {
public:
static const char kViewClassName[];

Powered by Google App Engine
This is Rietveld 408576698