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

Side by Side Diff: ui/base/touch/axis.cc

Issue 9773024: This patch implements Chromium's Aura gesture recognizer in terms of utouch-grail and utouch-frame … (Closed) Base URL: https://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch
« no previous file with comments | « ui/base/touch/axis.h ('k') | ui/base/touch/multi_touch_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/base/touch/axis.h"
6
7 #include <limits>
8
9 namespace ui {
10
11 Axis::Axis()
12 : id_(-1),
13 type_(AXIS_TYPE_UNKNOWN),
14 name_("Unknown axis"),
15 min_(-std::numeric_limits<float>::max()),
16 max_(std::numeric_limits<float>::max()),
17 resolution_(0.f),
18 value_(0.f),
19 payload_(NULL) {
20 }
21
22 Axis::~Axis() {
23 delete(payload_);
24 }
25
26 } // namespace ui
27
OLDNEW
« no previous file with comments | « ui/base/touch/axis.h ('k') | ui/base/touch/multi_touch_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698