Restrict the number of cases where we force the compositor to do a synchronous paint to resizing and restore/maximize operations.
Forcing the compositor to do a synchronous paint in window size changed notifications sends over
a synchronous IPC to the GPU process which blocks the UI thread. We have been seeing cases where
Chrome seems to freeze while performing operations like typing in the omnibox, etc.
BUG=397633
R=sky,cpu
Review URL: https://codereview.chromium.org/
528173002
Cr-Commit-Position: refs/heads/master@{#293223}