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

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

Issue 273173003: Notifications: Retain button hover state during content updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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.h
diff --git a/ui/message_center/views/notification_button.h b/ui/message_center/views/notification_button.h
index e0603cd38a673249935df0c77948775433136e0d..3c5eae1b0666569226e5352284b40fa86a9d62ad 100644
--- a/ui/message_center/views/notification_button.h
+++ b/ui/message_center/views/notification_button.h
@@ -32,6 +32,8 @@ class NotificationButton : public views::CustomButton {
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
virtual void OnFocus() OVERRIDE;
virtual void OnBlur() OVERRIDE;
+ virtual void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) OVERRIDE;
// Overridden from views::CustomButton:
virtual void StateChanged() OVERRIDE;
« no previous file with comments | « no previous file | ui/message_center/views/notification_button.cc » ('j') | ui/message_center/views/notification_view.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698