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

Unified Diff: ui/events/touch_ctm.cc

Issue 191223007: Move touch CTM from X into Chrome (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: move CTM update code into a separate file ash/touch/touch_ctm_controller.cc Created 6 years, 9 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_ctm.cc
diff --git a/ui/events/touch_ctm.cc b/ui/events/touch_ctm.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3cc96f7b5bc6d99a6e9458db2e4e33c2fb0904e1
--- /dev/null
+++ b/ui/events/touch_ctm.cc
@@ -0,0 +1,17 @@
+// 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 <float.h>
+
+#include "ui/events/touch_ctm.h"
+
+namespace ui {
+
+TouchCTM::TouchCTM() : 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