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

Unified Diff: ui/views/pointer_watcher.h

Issue 2092343002: Touch HUD app for mustash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/pointer_watcher.h
diff --git a/ui/views/pointer_watcher.h b/ui/views/pointer_watcher.h
index 2abc4cb42d220fdb90587dc70974246278d3bb0e..ae206a372f22cf7514034f3529fe4c2be2245e4a 100644
--- a/ui/views/pointer_watcher.h
+++ b/ui/views/pointer_watcher.h
@@ -29,12 +29,21 @@ class VIEWS_EXPORT PointerWatcher {
public:
virtual ~PointerWatcher() {}
- virtual void OnMousePressed(const ui::MouseEvent& event,
- const gfx::Point& location_in_screen,
- Widget* target) = 0;
- virtual void OnTouchPressed(const ui::TouchEvent& event,
- const gfx::Point& location_in_screen,
- Widget* target) = 0;
+ virtual void OnMousePressObserved(const ui::MouseEvent& event,
+ const gfx::Point& location_in_screen,
+ Widget* target) = 0;
+ virtual void OnTouchPressObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ Widget* target) = 0;
+ virtual void OnTouchReleaseObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ Widget* target) = 0;
+ virtual void OnTouchMoveObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ Widget* target) = 0;
+ virtual void OnTouchCancellObserved(const ui::TouchEvent& event,
+ const gfx::Point& location_in_screen,
+ Widget* target) = 0;
sadrul 2016/06/27 14:44:54 *Cancel Instead of having type-specific callbacks
riajiang 2016/06/28 21:52:51 Done.
};
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698