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

Unified Diff: ui/views/examples/widget_example.cc

Issue 1690543004: MacViews: Implement Full Keyboard Access. (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
Index: ui/views/examples/widget_example.cc
diff --git a/ui/views/examples/widget_example.cc b/ui/views/examples/widget_example.cc
index 0165de3f9dcb8805b70ce4a1860ed741be5a1e14..8d9e12c453e1a2c0a2e5fc4090859ba955643642 100644
--- a/ui/views/examples/widget_example.cc
+++ b/ui/views/examples/widget_example.cc
@@ -87,7 +87,7 @@ void WidgetExample::BuildButton(View* container,
const std::string& label,
int tag) {
LabelButton* button = new LabelButton(this, ASCIIToUTF16(label));
- button->SetFocusable(true);
+ Button::ConfigureDefaultFocus(button);
button->set_tag(tag);
container->AddChildView(button);
}

Powered by Google App Engine
This is Rietveld 408576698