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

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

Issue 2482453002: Don't restart the hang renderer timeout on messages ack'd from the compositor thread. (Closed)
Patch Set: 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
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..f7482ca91191538ab36609e0a989ab426014a9fa 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(
+ InputEventAckLocation location,
blink::WebInputEvent::Type type,
InputEventAckState state,
const ui::LatencyInfo& latency,
std::unique_ptr<ui::DidOverscrollParams> overscroll,
uint32_t unique_touch_event_id)
- : type(type),
+ : location(location),
+ 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(InputEventAckLocation location,
+ 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(location,
+ type,
+ state,
+ latency,
+ nullptr,
+ unique_touch_event_id) {}
+
+InputEventAck::InputEventAck(InputEventAckLocation location,
+ 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(location,
+ type,
+ state,
+ ui::LatencyInfo(),
+ unique_touch_event_id) {}
+
+InputEventAck::InputEventAck(InputEventAckLocation location,
+ blink::WebInputEvent::Type type,
InputEventAckState state)
- : InputEventAck(type, state, 0) {
-}
+ : InputEventAck(location, type, state, 0) {}
InputEventAck::InputEventAck()
- : InputEventAck(blink::WebInputEvent::Undefined,
- INPUT_EVENT_ACK_STATE_UNKNOWN) {
-}
+ : InputEventAck(InputEventAckLocation::INPUT_EVENT_ACK_LOCATION_UNKNOWN,
+ blink::WebInputEvent::Undefined,
+ INPUT_EVENT_ACK_STATE_UNKNOWN) {}
InputEventAck::~InputEventAck() {
}

Powered by Google App Engine
This is Rietveld 408576698