Media Galleries API Metadata: Fix bugs in utility process cleanup.
[chromium-blink-merge.git] / ui / events / gesture_detection / gesture_event_params.cc
blob73223b0aea08592a8c8ff8b432db0f396ae5053c
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.
5 #include "ui/events/gesture_detection/gesture_event_params.h"
7 namespace ui {
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) {}
16 GestureEventParams::Data::Data() { memset(this, 0, sizeof(Data)); }
18 } // namespace ui