Suppress spurious onRestore callback.
commit767ba5e87377b1dcd7f27745efbf9a4cafe3c708
authorjamiewalch <jamiewalch@chromium.org>
Mon, 8 Jun 2015 19:01:45 +0000 (8 12:01 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 8 Jun 2015 19:03:20 +0000 (8 19:03 +0000)
tree061e7d5ae877fe8f51f66b5d2b6d551c482c77f2
parentfac41e8211138d7e18559f6a968fbc0f55951d82
Suppress spurious onRestore callback.

Due to https://crbug.com/394819, ChromeOS generates an onRestored event when
transitioning from maximized to full-screen. This event fires *after* the
onFullscreen event, so must be filtered out.

This is the underlying cause of https://crbug.com/495329

BUG=495329

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

Cr-Commit-Position: refs/heads/master@{#333309}
remoting/webapp/crd/js/fullscreen_v2.js