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

Unified Diff: ui/message_center/views/notification_button.cc

Issue 1963563002: Views: Flip default value of CustomButton::request_focus_on_press_ to false. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. 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/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 26a35bfdc0662abaa20234904e6e7ab62ce6f43d..b043ba25ae9acad97c82fef54e8b1b0c66005b8a 100644
--- a/ui/message_center/views/notification_button.cc
+++ b/ui/message_center/views/notification_button.cc
@@ -28,7 +28,6 @@ NotificationButton::NotificationButton(views::ButtonListener* listener)
// background changes to show touch feedback
set_background(views::Background::CreateSolidBackground(
kNotificationBackgroundColor));
- set_request_focus_on_press(false);
set_notify_enter_exit_on_child(true);
SetLayoutManager(
new views::BoxLayout(views::BoxLayout::kHorizontal,
« no previous file with comments | « ui/message_center/views/message_center_button_bar.cc ('k') | ui/message_center/views/notifier_settings_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698