OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 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 "content/common/input/input_event_ack.h" | |
6 | |
7 namespace content { | |
8 | |
9 InputEventAck::InputEventAck( | |
10 blink::WebInputEvent::Type type, | |
11 InputEventAckState state, | |
12 ui::LatencyInfo latency, | |
13 scoped_ptr<content::DidOverscrollParams> overscroll, | |
14 uint32 unique_touch_event_id) | |
15 : type(type), | |
16 state(state), | |
17 latency(latency), | |
18 overscroll(overscroll.Pass()), | |
19 unique_touch_event_id(unique_touch_event_id) { | |
20 } | |
21 | |
22 InputEventAck::InputEventAck(blink::WebInputEvent::Type type, | |
23 InputEventAckState state, | |
24 ui::LatencyInfo latency, | |
25 uint32 unique_touch_event_id) | |
26 : InputEventAck(type, state, latency, NULL, unique_touch_event_id) { | |
jdduke (slow)
2015/05/07 21:11:16
Nit: nullptr
lanwei
2015/05/08 19:31:26
Done.
| |
27 } | |
28 | |
29 InputEventAck::InputEventAck(blink::WebInputEvent::Type type, | |
30 InputEventAckState state) | |
31 : InputEventAck(type, state, ui::LatencyInfo(), 0) { | |
32 } | |
33 InputEventAck::InputEventAck() { | |
jdduke (slow)
2015/05/07 21:11:16
We'll still want to "zero" initialize type/state/u
lanwei
2015/05/08 19:31:26
Done.
| |
34 } | |
35 InputEventAck::~InputEventAck() { | |
jdduke (slow)
2015/05/07 21:11:16
Nit: line break between methods.
lanwei
2015/05/08 19:31:26
Done.
| |
36 } | |
37 | |
38 } // namespace content | |
OLD | NEW |