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

Unified Diff: ash/system/tray/system_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
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray.h
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h
index 4afbc3829267b51727ab4f312dc999f1f173beab..760c527dfb9ebd27aadfdd8d849d4ced2d923595 100644
--- a/ash/system/tray/system_tray.h
+++ b/ash/system/tray/system_tray.h
@@ -159,6 +159,8 @@ class ASH_EXPORT SystemTray : 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;
private:
friend class internal::SystemTrayBubble;
@@ -170,11 +172,6 @@ class ASH_EXPORT SystemTray : public internal::TrayBackgroundView {
// Resets |notification_bubble_| and clears any related state.
void DestroyNotificationBubble();
- // Called when the widget associated with |bubble| closes. |bubble| should
- // always == |bubble_|. This triggers destroying |bubble_| and hiding the
- // launcher if necessary.
- void RemoveBubble(internal::SystemTrayBubble* bubble);
-
const ScopedVector<SystemTrayItem>& items() const { return items_; }
// Calculates the x-offset for the item in the tray. Returns -1 if its tray
« no previous file with comments | « ash/ash.gyp ('k') | ash/system/tray/system_tray.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698