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

Unified Diff: ui/events/event.h

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rework Created 6 years, 8 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/events/event.h
diff --git a/ui/events/event.h b/ui/events/event.h
index 17cad8b301ecd1c37f2cc04c5de8845b97743507..c3150f201ef1472b8c6b61953ebf42efb90eb4ce 100644
--- a/ui/events/event.h
+++ b/ui/events/event.h
@@ -477,11 +477,6 @@ class EVENTS_EXPORT TouchEvent : public LocatedEvent {
float force() const { return force_; }
int source_device_id() const { return source_device_id_; }
- // Relocate the touch-point to a new |origin|.
- // This is useful when touch event is in X Root Window coordinates,
- // and it needs to be mapped into Aura Root Window coordinates.
- void Relocate(const gfx::Point& origin);
-
// Used for unit tests.
void set_radius_x(const float r) { radius_x_ = r; }
void set_radius_y(const float r) { radius_y_ = r; }

Powered by Google App Engine
This is Rietveld 408576698