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

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

Issue 2173073003: Move WebInputEvent into public/platform from public/web (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gn build failure with android Created 4 years, 5 months 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/event_with_latency_info.cc
diff --git a/content/common/input/event_with_latency_info.cc b/content/common/input/event_with_latency_info.cc
index 5af275744193e9612b42726b98dccdbffb12880f..f04e8ac651338260f75f7cc98e1d59ceffe6759b 100644
--- a/content/common/input/event_with_latency_info.cc
+++ b/content/common/input/event_with_latency_info.cc
@@ -113,13 +113,13 @@ bool CanCoalesce(const WebTouchEvent& event_to_coalesce,
event.type != WebInputEvent::TouchMove ||
event.modifiers != event_to_coalesce.modifiers ||
event.touchesLength != event_to_coalesce.touchesLength ||
- event.touchesLength > WebTouchEvent::touchesLengthCap)
+ event.touchesLength > WebTouchEvent::kTouchesLengthCap)
return false;
- static_assert(WebTouchEvent::touchesLengthCap <= sizeof(int32_t) * 8U,
- "suboptimal touchesLengthCap size");
+ static_assert(WebTouchEvent::kTouchesLengthCap <= sizeof(int32_t) * 8U,
+ "suboptimal kTouchesLengthCap size");
// Ensure that we have a 1-to-1 mapping of pointer ids between touches.
- std::bitset<WebTouchEvent::touchesLengthCap> unmatched_event_touches(
+ std::bitset<WebTouchEvent::kTouchesLengthCap> unmatched_event_touches(
(1 << event.touchesLength) - 1);
for (unsigned i = 0; i < event_to_coalesce.touchesLength; ++i) {
int event_touch_index =

Powered by Google App Engine
This is Rietveld 408576698