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

Side by Side Diff: ui/events/gesture_detection/gesture_event_params.cc

Issue 128613003: [Tracking Patch] Unified gesture detection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address tdresser@ comments and run clang-format on everything Created 6 years, 10 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
OLDNEW
(Empty)
1 // Copyright 2014 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/events/gesture_detection/gesture_event_params.h"
6
7 namespace ui {
8
9 GestureEventParams::GestureEventParams(GestureEventType type,
10 base::TimeTicks time,
11 float x,
12 float y,
13 const Data& data)
14 : type(type), time(time), x(x), y(y), data(data) {}
15
16 GestureEventParams::Data::Data() { memset(this, 0, sizeof(Data)); }
17
18 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698