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

Unified Diff: ui/views/window/dialog_client_view.cc

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/window/dialog_client_view.cc
diff --git a/ui/views/window/dialog_client_view.cc b/ui/views/window/dialog_client_view.cc
index e93e980ae472b1918ce4d05f03faf54ad2d674e1..62638feeb3c752c67daaa3d3da07dd97f5d09ab9 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -313,7 +313,7 @@ LabelButton* DialogClientView::CreateDialogButton(ui::DialogButton type) {
button = new LabelButton(this, title);
button->SetStyle(Button::STYLE_BUTTON);
}
- button->SetFocusBehavior(FocusBehavior::ALWAYS);
+ Button::ConfigureDefaultFocus(button);
const int kDialogMinButtonWidth = 75;
button->SetMinSize(gfx::Size(kDialogMinButtonWidth, 0));

Powered by Google App Engine
This is Rietveld 408576698