Commit f3c8b8b9 authored by miletus@chromium.org's avatar miletus@chromium.org

Set default synthetic gesture source type on aura to be touch event

Since we care touch scroll latency more than mouse wheel scroll latency,
lets change the default gesture source type to be touch.
If we need to monitor mouse wheel scroll latency in the future, we can
then setup a new perf bot running telemetry smoothness test with mouse
event selected.

BUG=246034
TEST=telemetry smoothness test on CrOS now shows mean_touch_scroll_latency
     instead of mean_mouse_wheel_scroll_latency.

Review URL: https://codereview.chromium.org/164023004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251962 0039d316-1c4b-4281-b951-d872f2087c98
parent 04166f82
......@@ -148,7 +148,7 @@ void SyntheticGestureTargetAura::DispatchWebMouseEventToPlatform(
SyntheticGestureParams::GestureSourceType
SyntheticGestureTargetAura::GetDefaultSyntheticGestureSourceType() const {
return SyntheticGestureParams::MOUSE_INPUT;
return SyntheticGestureParams::TOUCH_INPUT;
}
bool SyntheticGestureTargetAura::SupportsSyntheticGestureSourceType(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment