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

Unified Diff: ash/common/shelf/shelf_tooltip_manager.h

Issue 2183163002: mus: Change PointerWatcher to observe all pointer events, with moves optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/common/shelf/overflow_bubble.cc ('k') | ash/common/shelf/shelf_tooltip_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/shelf_tooltip_manager.h
diff --git a/ash/common/shelf/shelf_tooltip_manager.h b/ash/common/shelf/shelf_tooltip_manager.h
index 2bc6943dc0df3b979c1421a202d7ad326515e304..c68a1b075de0c93b7f7a61b5ed8d37b595f8e4fc 100644
--- a/ash/common/shelf/shelf_tooltip_manager.h
+++ b/ash/common/shelf/shelf_tooltip_manager.h
@@ -58,12 +58,9 @@ class ASH_EXPORT ShelfTooltipManager : public ui::EventHandler,
void OnMouseEvent(ui::MouseEvent* event) override;
// views::PointerWatcher overrides:
- void OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) override;
- void OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen,
- views::Widget* target) override;
+ void OnPointerEventObserved(const ui::PointerEvent& event,
+ const gfx::Point& location_in_screen,
+ views::Widget* target) override;
// WmShelfObserver overrides:
void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
« no previous file with comments | « ash/common/shelf/overflow_bubble.cc ('k') | ash/common/shelf/shelf_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698