Index: ui/base/touch/axis.cc |
=================================================================== |
--- ui/base/touch/axis.cc (revision 0) |
+++ ui/base/touch/axis.cc (revision 0) |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2012 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/base/touch/axis.h" |
+ |
+#include <limits> |
+ |
+namespace ui { |
+ |
+Axis::Axis() |
+ : id_(-1), |
+ type_(AXIS_TYPE_UNKNOWN), |
+ name_("Unknown axis"), |
+ min_(-std::numeric_limits<float>::max()), |
+ max_(std::numeric_limits<float>::max()), |
+ resolution_(0.f), |
+ value_(0.f), |
+ payload_(NULL) { |
+} |
+ |
+Axis::~Axis() { |
+ delete(payload_); |
+} |
+ |
+} // namespace ui |
+ |
Property changes on: ui/base/touch/axis.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |