Index: content/common/input/input_event_ack.cc |
diff --git a/content/common/input/input_event_ack.cc b/content/common/input/input_event_ack.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..74bb2e82cd53ca48250ef4006641de983ca924d1 |
--- /dev/null |
+++ b/content/common/input/input_event_ack.cc |
@@ -0,0 +1,38 @@ |
+// Copyright 2015 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 "content/common/input/input_event_ack.h" |
+ |
+namespace content { |
+ |
+InputEventAck::InputEventAck( |
+ blink::WebInputEvent::Type type, |
+ InputEventAckState state, |
+ ui::LatencyInfo latency, |
+ scoped_ptr<content::DidOverscrollParams> overscroll, |
+ uint32 unique_touch_event_id) |
+ : type(type), |
+ state(state), |
+ latency(latency), |
+ overscroll(overscroll.Pass()), |
+ unique_touch_event_id(unique_touch_event_id) { |
+} |
+ |
+InputEventAck::InputEventAck(blink::WebInputEvent::Type type, |
+ InputEventAckState state, |
+ ui::LatencyInfo latency, |
+ uint32 unique_touch_event_id) |
+ : 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.
|
+} |
+ |
+InputEventAck::InputEventAck(blink::WebInputEvent::Type type, |
+ InputEventAckState state) |
+ : InputEventAck(type, state, ui::LatencyInfo(), 0) { |
+} |
+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.
|
+} |
+InputEventAck::~InputEventAck() { |
jdduke (slow)
2015/05/07 21:11:16
Nit: line break between methods.
lanwei
2015/05/08 19:31:26
Done.
|
+} |
+ |
+} // namespace content |