DescriptionSystemDisplayApi: Introdice OverscanTracker
The system.display.overscanCalibrationStart method displays an overlay
for adjusting overscan when called.
If the web context initiating the call is deleted before
overscanCalibrationComplete is called, the overaly will remain with
no way to remove it (without running Settings or an app that shows
and removes the overaly correctly).
This change creates a tracker so that if the render frame is deleted
before overscanCalibrationComplete is called, the calibration will
be reset and completed to remove the overlay.
BUG=666590
Committed: https://crrev.com/8f2b71add2ce71f468fb8274c20d7ea41d36886b
Cr-Commit-Position: refs/heads/master@{#437448}
Patch Set 1 #
Total comments: 10
Patch Set 2 : Fix non-chromeos tests #Patch Set 3 : Feedback #
Total comments: 2
Patch Set 4 : Rebase + s_overscan_tracker -> g_overscan_tracker #
Messages
Total messages: 22 (13 generated)
|