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

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

Issue 1894383002: MacViews: Implement Full Keyboard Access. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@SetFocusBehavior
Patch Set: Rebased Created 4 years, 7 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/button.h
diff --git a/ui/views/controls/button/button.h b/ui/views/controls/button/button.h
index dab4870ad53b06d09affa43ea42bfeeebddc86e3..263393fe7463874b63d995f5112a565ece5411f0 100644
--- a/ui/views/controls/button/button.h
+++ b/ui/views/controls/button/button.h
@@ -49,6 +49,9 @@ class VIEWS_EXPORT Button : public InkDropHostView {
static ButtonState GetButtonStateFrom(ui::NativeTheme::State state);
+ // Make the |button| focusable as per the platform.
+ static void ConfigureDefaultFocus(Button* button);
+
void SetTooltipText(const base::string16& tooltip_text);
int tag() const { return tag_; }

Powered by Google App Engine
This is Rietveld 408576698