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

Unified Diff: ui/message_center/views/notification_button.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/message_center/views/notification_button.cc
diff --git a/ui/message_center/views/notification_button.cc b/ui/message_center/views/notification_button.cc
index b5a1240933bb8a6b09312ddc662cbccff2763742..3383abc2534ae4583feb78ae74e683e057064ca0 100644
--- a/ui/message_center/views/notification_button.cc
+++ b/ui/message_center/views/notification_button.cc
@@ -23,7 +23,7 @@ NotificationButton::NotificationButton(views::ButtonListener* listener)
focus_painter_(views::Painter::CreateSolidFocusPainter(
message_center::kFocusBorderColor,
gfx::Insets(1, 2, 2, 2))) {
- SetFocusable(true);
+ views::Button::ConfigureDefaultFocus(this);
// Create a background so that it does not change when the MessageView
// background changes to show touch feedback
set_background(views::Background::CreateSolidBackground(

Powered by Google App Engine
This is Rietveld 408576698