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

Unified Diff: content/common/input/input_event_ack.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/input/input_event_ack.h ('k') | content/common/input/input_event_ack_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index c7af9f85d25479954818e8464968f1bb8edcb0cd..92cf5eaed0c905b17dd63d9e3f81f80b533821ff 100644
--- a/content/common/input/input_event_ack.cc
+++ b/content/common/input/input_event_ack.cc
@@ -9,37 +9,50 @@
namespace content {
InputEventAck::InputEventAck(
+ InputEventAckSource source,
blink::WebInputEvent::Type type,
InputEventAckState state,
const ui::LatencyInfo& latency,
std::unique_ptr<ui::DidOverscrollParams> overscroll,
uint32_t unique_touch_event_id)
- : type(type),
+ : source(source),
+ type(type),
state(state),
latency(latency),
overscroll(std::move(overscroll)),
unique_touch_event_id(unique_touch_event_id) {}
-InputEventAck::InputEventAck(blink::WebInputEvent::Type type,
+InputEventAck::InputEventAck(InputEventAckSource source,
+ blink::WebInputEvent::Type type,
InputEventAckState state,
const ui::LatencyInfo& latency,
uint32_t unique_touch_event_id)
- : InputEventAck(type, state, latency, nullptr, unique_touch_event_id) {}
-
-InputEventAck::InputEventAck(blink::WebInputEvent::Type type,
+ : InputEventAck(source,
+ type,
+ state,
+ latency,
+ nullptr,
+ unique_touch_event_id) {}
+
+InputEventAck::InputEventAck(InputEventAckSource source,
+ blink::WebInputEvent::Type type,
InputEventAckState state,
uint32_t unique_touch_event_id)
- : InputEventAck(type, state, ui::LatencyInfo(), unique_touch_event_id) {}
-
-InputEventAck::InputEventAck(blink::WebInputEvent::Type type,
+ : InputEventAck(source,
+ type,
+ state,
+ ui::LatencyInfo(),
+ unique_touch_event_id) {}
+
+InputEventAck::InputEventAck(InputEventAckSource source,
+ blink::WebInputEvent::Type type,
InputEventAckState state)
- : InputEventAck(type, state, 0) {
-}
+ : InputEventAck(source, type, state, 0) {}
InputEventAck::InputEventAck()
- : InputEventAck(blink::WebInputEvent::Undefined,
- INPUT_EVENT_ACK_STATE_UNKNOWN) {
-}
+ : InputEventAck(InputEventAckSource::UNKNOWN,
+ blink::WebInputEvent::Undefined,
+ INPUT_EVENT_ACK_STATE_UNKNOWN) {}
InputEventAck::~InputEventAck() {
}
« no previous file with comments | « content/common/input/input_event_ack.h ('k') | content/common/input/input_event_ack_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698