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

Unified Diff: ui/events/blink/blink_event_util.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
« no previous file with comments | « third_party/WebKit/public/web/WebTouchPoint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/blink_event_util.cc
diff --git a/ui/events/blink/blink_event_util.cc b/ui/events/blink/blink_event_util.cc
index fcf950b03edab73d6ad5c35d2d2ee78ab0f84ecb..a7cba9d0bfcf7db2f00a6ade41539b859aea684f 100644
--- a/ui/events/blink/blink_event_util.cc
+++ b/ui/events/blink/blink_event_util.cc
@@ -164,7 +164,7 @@ blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
const MotionEvent& event,
bool moved_beyond_slop_region) {
static_assert(static_cast<int>(MotionEvent::MAX_TOUCH_POINT_COUNT) ==
- static_cast<int>(blink::WebTouchEvent::touchesLengthCap),
+ static_cast<int>(blink::WebTouchEvent::kTouchesLengthCap),
"inconsistent maximum number of active touch points");
blink::WebTouchEvent result;
@@ -180,7 +180,7 @@ blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
result.uniqueTouchEventId = event.GetUniqueEventId();
result.touchesLength =
std::min(static_cast<unsigned>(event.GetPointerCount()),
- static_cast<unsigned>(WebTouchEvent::touchesLengthCap));
+ static_cast<unsigned>(WebTouchEvent::kTouchesLengthCap));
DCHECK_GT(result.touchesLength, 0U);
for (size_t i = 0; i < result.touchesLength; ++i)
« no previous file with comments | « third_party/WebKit/public/web/WebTouchPoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698