Descriptionandroid webview: Keep zoom methods synchronous
Zoom methods became asynchronous after r380563 since zoom
is implemented by generating synthetic pinch zoom gestures.
There is evidence now that some apps depend on synchronous
zoom methods, so this brings back synchronous behavior for
the zoom methods only.
Add a synchronous UpdateState IPC, and send it only after
sending down synthetic zoom events. Note real user input is
still asynchronous.
Re-enable the synchronous zoom test, but had to slightly
relax a check due to rounding error.
BUG=545628
Committed: https://crrev.com/ea69bdb503198d324b112319899ecc5d8d70bfbf
Cr-Commit-Position: refs/heads/master@{#384667}
Patch Set 1 #Patch Set 2 : sync ipc, fix test #Patch Set 3 : test compile #
Total comments: 3
Patch Set 4 : ipc comments #Messages
Total messages: 15 (7 generated)
|