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

Unified Diff: ash/system/web_notification/web_notification_tray.cc

Issue 2095933002: Revert of tabing inconsistencies between trays in status area (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert manually Created 4 years, 6 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 | « ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/web_notification/web_notification_tray.cc
diff --git a/ash/system/web_notification/web_notification_tray.cc b/ash/system/web_notification/web_notification_tray.cc
index 31aa489b542048498bc28525866e8f40535d1132..4125dd58ab073f10ac94867cd079f3a2472b322e 100644
--- a/ash/system/web_notification/web_notification_tray.cc
+++ b/ash/system/web_notification/web_notification_tray.cc
@@ -216,7 +216,6 @@ WebNotificationTray::WebNotificationTray(StatusAreaWidget* status_area_widget)
button_->set_triggerable_event_flags(
ui::EF_LEFT_MOUSE_BUTTON | ui::EF_RIGHT_MOUSE_BUTTON);
tray_container()->AddChildView(button_);
- button_->SetFocusBehavior(FocusBehavior::NEVER);
SetContentsBackground();
tray_container()->SetBorder(views::Border::NullBorder());
message_center_tray_.reset(new message_center::MessageCenterTray(
@@ -506,8 +505,6 @@ void WebNotificationTray::UpdateTrayContent() {
SetVisible(IsLoggedIn());
Layout();
SchedulePaint();
- if (IsLoggedIn())
- status_area_widget_->system_tray()->SetNextFocusableView(this);
}
void WebNotificationTray::ClickedOutsideBubble() {
« no previous file with comments | « ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698