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

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

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Fixed UT. 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
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..03ef46e00b71c478f9f4dcd17ff0a9fe771b623b 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -83,9 +83,11 @@ 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;
+ void OnGestureEvent(ui::GestureEvent* event) override;
// Overridden from views::TrayBubbleView::Delegate.
void BubbleViewDestroyed() override;
@@ -98,6 +100,7 @@ class ASH_EXPORT WebNotificationTray
base::string16 GetAccessibleNameForBubble() override;
bool ShouldEnableExtraKeyboardAccessibility() override;
void HideBubble(const views::TrayBubbleView* bubble_view) override;
+ bool ProcessGestureEventForBubble(ui::GestureEvent* event) override;
// Overridden from MessageCenterTrayDelegate.
void OnMessageCenterTrayChanged() override;

Powered by Google App Engine
This is Rietveld 408576698