Fix input range handle does not follow mouse cursor with OSR (issue #2189)

This commit is contained in:
Alexander Guettler 2018-02-22 17:09:28 +00:00 committed by Marshall Greenblatt
parent a5a5e7ff08
commit 36668efc2f
3 changed files with 6 additions and 0 deletions

View File

@ -384,4 +384,6 @@ void CefBrowserPlatformDelegateNativeLinux::TranslateMouseEvent(
// timestamp
result.SetTimeStampSeconds(GetSystemUptime());
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
}

View File

@ -469,4 +469,6 @@ void CefBrowserPlatformDelegateNativeMac::TranslateMouseEvent(
// timestamp - Mac OSX specific
result.SetTimeStampSeconds(currentEventTimestamp());
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
}

View File

@ -559,6 +559,8 @@ void CefBrowserPlatformDelegateNativeWin::TranslateMouseEvent(
// timestamp
result.SetTimeStampSeconds(GetMessageTime() / 1000.0);
result.pointer_type = blink::WebPointerProperties::PointerType::kMouse;
}
// static