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

Unified Diff: ui/message_center/message_center_bubble.cc

Issue 11737029: Remove 'focusable' flag when there're no notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_bubble.cc
diff --git a/ui/message_center/message_center_bubble.cc b/ui/message_center/message_center_bubble.cc
index fc89b2971762e137204ec19e994170ee051cec09..06a4c2a9b4a9f3d268d6e3704dd5d0032419808b 100644
--- a/ui/message_center/message_center_bubble.cc
+++ b/ui/message_center/message_center_bubble.cc
@@ -210,8 +210,10 @@ class MessageCenterContentsView : public views::View {
label->SetEnabledColor(SK_ColorGRAY);
scroll_content_->AddChildView(label);
button_view_->SetCloseAllVisible(false);
+ scroller_->set_focusable(false);
} else {
button_view_->SetCloseAllVisible(true);
+ scroller_->set_focusable(true);
}
SizeScrollContent();
Layout();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698