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

Unified Diff: ui/events/touch_transformer.cc

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move the logic of if a touch event should be dispatched to a root window into CanDispatchEvent() 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/touch_transformer.cc
diff --git a/ui/events/touch_transformer.cc b/ui/events/touch_transformer.cc
new file mode 100644
index 0000000000000000000000000000000000000000..47d8be53a8c82c1310f7b96db58e77b7babebb26
--- /dev/null
+++ b/ui/events/touch_transformer.cc
@@ -0,0 +1,15 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/events/touch_transformer.h"
+
+namespace ui {
+
+TouchTransformer::TouchTransformer() : x_scale(1.0),
+ x_offset(0.0),
+ y_scale(1.0),
+ y_offset(0.0) {
+}
+
+} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698