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/message_center/views/notification_view.cc

Issue 2910003003: Call UpdateControlButtonsVisibility() in OnMouseMoved(). (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ui/message_center/views/notification_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/notification_view.cc
diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
index 1258273003f21b3a5817d84953633ff110145fd0..12b40b608b65ce77493497070a4c8ed4e7638599 100644
--- a/ui/message_center/views/notification_view.cc
+++ b/ui/message_center/views/notification_view.cc
@@ -346,6 +346,11 @@ gfx::NativeCursor NotificationView::GetCursor(const ui::MouseEvent& event) {
return views::GetNativeHandCursor();
}
+void NotificationView::OnMouseMoved(const ui::MouseEvent& event) {
+ MessageView::OnMouseMoved(event);
+ UpdateControlButtonsVisibility();
+}
+
void NotificationView::OnMouseEntered(const ui::MouseEvent& event) {
MessageView::OnMouseEntered(event);
UpdateControlButtonsVisibility();
« no previous file with comments | « ui/message_center/views/notification_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698