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

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

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Fixed nits. Created 3 years, 5 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/system/tray_drag_controller.cc ('k') | ash/system/web_notification/web_notification_tray.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6545949022fbc1b017b7442ed2a7715b652f3aeb..0a801663f55f5ffa118c7804e3a067ac1f1581f4 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -45,7 +45,6 @@ class WebNotificationLabel;
// is controlled by StatusAreaWidget.
class ASH_EXPORT WebNotificationTray
: public TrayBackgroundView,
- public views::TrayBubbleView::Delegate,
public message_center::MessageCenterTrayDelegate,
public base::SupportsWeakPtr<WebNotificationTray>,
public ui::SimpleMenuModel::Delegate {
@@ -71,9 +70,6 @@ class ASH_EXPORT WebNotificationTray
// Returns true if the message center bubble is visible.
bool IsMessageCenterBubbleVisible() const;
- // Shows the message center bubble.
- void ShowMessageCenterBubble();
-
// Called when the login status is changed.
void UpdateAfterLoginStatusChange(LoginStatus login_status);
@@ -83,9 +79,10 @@ class ASH_EXPORT WebNotificationTray
base::string16 GetAccessibleNameForTray() override;
void HideBubbleWithView(const views::TrayBubbleView* bubble_view) override;
void ClickedOutsideBubble() override;
-
- // Overridden from ActionableView.
bool PerformAction(const ui::Event& event) override;
+ void CloseBubble() override;
+ void ShowBubble() override;
+ views::TrayBubbleView* GetBubbleView() override;
// Overridden from views::TrayBubbleView::Delegate.
void BubbleViewDestroyed() override;
« no previous file with comments | « ash/system/tray_drag_controller.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