Surface synchronization: Only throttle input on Chrome OS

Input throttling is not currently well supported on non-Chrome OS platforms
and that's causing some crashes in the wild. Input throttling still makes
sense on any synchronization event on any platform because things aren't
getting updated while we are synchronizing but for the time being to avoid
crashes in the wild, this CL disables input throttling outside of Chrome OS.

(cherry picked from commit 053e08962e327a9d5ac1958d7f808d55de9eaad4)

Bug: 672962, 791447
Change-Id: I0ac419a683f8a0f735e746fa629a037370fbd169
Reviewed-by: Sadrul Chowdhury <>
Commit-Queue: Fady Samuel <>
Cr-Original-Commit-Position: refs/heads/master@{#538872}
Reviewed-by: Fady Samuel <>
Cr-Commit-Position: refs/branch-heads/3325@{#589}
Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
2 files changed