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

Unified Diff: ui/views/bubble/tray_bubble_view.h

Issue 2961313003: Touch gestures for System Tray/ IME/ Stylus/ Notifications (Closed)
Patch Set: Fixed msw's comments. 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: ui/views/bubble/tray_bubble_view.h
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index 7fa7034855bea6d7729b536d48776f42aed8e5e6..4bfd2cf1edb57d104db6422221e186fdec0f1b9a 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -85,6 +85,8 @@ class VIEWS_EXPORT TrayBubbleView : public BubbleDialogDelegateView,
// child view was closed).
virtual void HideBubble(const TrayBubbleView* bubble_view) = 0;
+ virtual bool ProcessGestureEventForBubble(ui::GestureEvent* event) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(Delegate);
};
@@ -158,6 +160,7 @@ class VIEWS_EXPORT TrayBubbleView : public BubbleDialogDelegateView,
void OnMouseEntered(const ui::MouseEvent& event) override;
void OnMouseExited(const ui::MouseEvent& event) override;
void GetAccessibleNodeData(ui::AXNodeData* node_data) override;
+ void OnGestureEvent(ui::GestureEvent* event) override;
// Overridden from MouseWatcherListener
void MouseMovedOutOfHost() override;

Powered by Google App Engine
This is Rietveld 408576698