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

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

Issue 1870573003: Full Keyboard Access: Second Approach (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « ui/views/touchui/touch_selection_menu_runner_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 62a800c138bb519c60bbd6fe74e8c2e4201fae1c..cc2a5c8c77b9d80b6003d44e4cc3f25bd9a024b5 100644
--- a/ui/views/window/dialog_client_view.cc
+++ b/ui/views/window/dialog_client_view.cc
@@ -12,6 +12,7 @@
#include "ui/views/controls/button/blue_button.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/layout/layout_constants.h"
+#include "ui/views/style/platform_style.h"
#include "ui/views/widget/widget.h"
#include "ui/views/window/dialog_delegate.h"
@@ -312,7 +313,7 @@ LabelButton* DialogClientView::CreateDialogButton(ui::DialogButton type) {
button = new LabelButton(this, title);
button->SetStyle(Button::STYLE_BUTTON);
}
- button->SetFocusable(true);
+ PlatformStyle::ConfigureFocus(PlatformStyle::CONTROL::BUTTON, button);
const int kDialogMinButtonWidth = 75;
button->SetMinSize(gfx::Size(kDialogMinButtonWidth, 0));
« no previous file with comments | « ui/views/touchui/touch_selection_menu_runner_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698