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

Unified Diff: ui/events/event.cc

Issue 294943007: Merge 270252 "Re-land "Move touch CTM from X into Chrome"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1985/src/
Patch Set: Created 6 years, 7 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 | « ui/events/event.h ('k') | ui/events/events.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/event.cc
===================================================================
--- ui/events/event.cc (revision 271938)
+++ ui/events/event.cc (working copy)
@@ -464,11 +464,6 @@
ClearTouchIdIfReleased(native_event());
}
-void TouchEvent::Relocate(const gfx::Point& origin) {
- location_ -= origin.OffsetFromOrigin();
- root_location_ -= origin.OffsetFromOrigin();
-}
-
void TouchEvent::UpdateForRootTransform(
const gfx::Transform& inverted_root_transform) {
LocatedEvent::UpdateForRootTransform(inverted_root_transform);
« no previous file with comments | « ui/events/event.h ('k') | ui/events/events.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698