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

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

Issue 11028134: Re-factor Ash Message Center code part 2/4 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 2 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: ash/system/web_notification/web_notification_tray.h
diff --git a/ash/system/web_notification/web_notification_tray.h b/ash/system/web_notification/web_notification_tray.h
index 3aa6fa643def8006d69a6bfe29fc62e6dc8912fb..64d2affd20b4f15dfa5a73255d932fae96d32891 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -124,6 +124,8 @@ class ASH_EXPORT WebNotificationTray : public internal::TrayBackgroundView,
virtual void SetShelfAlignment(ShelfAlignment alignment) OVERRIDE;
virtual void AnchorUpdated() OVERRIDE;
virtual string16 GetAccessibleName() OVERRIDE;
+ virtual void HideBubbleWithView(const TrayBubbleView* bubble_view) OVERRIDE;
+ virtual bool ClickedOutsideBubble() OVERRIDE;
// Overridden from internal::ActionableView.
virtual bool PerformAction(const ui::Event& event) OVERRIDE;
@@ -187,9 +189,6 @@ class ASH_EXPORT WebNotificationTray : public internal::TrayBackgroundView,
// As above but also updates any visible bubble.
void UpdateTrayAndBubble();
- // Hides the specified bubble (called when |bubble| is closed from Views).
- void HideBubble(message_center::WebNotificationBubble* bubble);
-
// Testing accessors.
size_t GetNotificationCountForTest() const;
bool HasNotificationForTest(const std::string& id) const;
« no previous file with comments | « ash/system/web_notification/web_notification_bubble.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698