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

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

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Swiping IME/Stylues/System tray/Notifications tray/bubble. 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..f44bb1f1c3eea6a5af31c2bf682f7c238354c535 100644
--- a/ash/system/web_notification/web_notification_tray.h
+++ b/ash/system/web_notification/web_notification_tray.h
@@ -83,9 +83,14 @@ 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;
+ bool HasBubble() override;
+ void CloseBubble() override;
+ void ShowBubble() override;
+ views::TrayBubbleView* GetBubbleView() override;
+
+ // ui::EventHandler:
msw 2017/07/12 05:04:52 ditto
minch1 2017/07/13 19:10:37 Done.
+ void OnGestureEvent(ui::GestureEvent* event) override;
// Overridden from views::TrayBubbleView::Delegate.
void BubbleViewDestroyed() override;
@@ -98,6 +103,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