Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 2558453004: SystemDisplayApi: Introdice OverscanTracker (Closed)

Created:
4 years ago by stevenjb
Modified:
4 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SystemDisplayApi: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+321 lines, -29 lines) Patch
M extensions/browser/api/system_display/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/api/system_display/system_display_api.cc View 1 2 3 4 chunks +128 lines, -0 lines 0 comments Download
M extensions/browser/api/system_display/system_display_apitest.cc View 1 2 9 chunks +133 lines, -29 lines 0 comments Download
A extensions/test/data/system/display/overscan/manifest.json View 1 chunk +12 lines, -0 lines 0 comments Download
A extensions/test/data/system/display/overscan/test_overscan.js View 1 chunk +18 lines, -0 lines 0 comments Download
A extensions/test/data/system/display/overscan_no_complete/manifest.json View 1 chunk +12 lines, -0 lines 0 comments Download
A extensions/test/data/system/display/overscan_no_complete/test_overscan_no_complete.js View 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
stevenjb
4 years ago (2016-12-07 19:28:15 UTC) #3
xiyuan
https://codereview.chromium.org/2558453004/diff/1/extensions/browser/api/system_display/system_display_api.cc File extensions/browser/api/system_display/system_display_api.cc (right): https://codereview.chromium.org/2558453004/diff/1/extensions/browser/api/system_display/system_display_api.cc#newcode121 extensions/browser/api/system_display/system_display_api.cc:121: if (!tracker) Should we use |s_overscan_tracker| directly since we ...
4 years ago (2016-12-07 21:32:40 UTC) #7
stevenjb
https://codereview.chromium.org/2558453004/diff/1/extensions/browser/api/system_display/system_display_api.cc File extensions/browser/api/system_display/system_display_api.cc (right): https://codereview.chromium.org/2558453004/diff/1/extensions/browser/api/system_display/system_display_api.cc#newcode121 extensions/browser/api/system_display/system_display_api.cc:121: if (!tracker) On 2016/12/07 21:32:40, xiyuan wrote: > Should ...
4 years ago (2016-12-07 21:54:42 UTC) #8
xiyuan
lgtm
4 years ago (2016-12-07 21:59:16 UTC) #9
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/2558453004/diff/40001/extensions/browser/api/system_display/system_display_api.cc File extensions/browser/api/system_display/system_display_api.cc (right): https://codereview.chromium.org/2558453004/diff/40001/extensions/browser/api/system_display/system_display_api.cc#newcode101 extensions/browser/api/system_display/system_display_api.cc:101: static OverscanTracker* s_overscan_tracker = nullptr; FYI, in many ...
4 years ago (2016-12-08 22:03:25 UTC) #14
stevenjb
https://codereview.chromium.org/2558453004/diff/40001/extensions/browser/api/system_display/system_display_api.cc File extensions/browser/api/system_display/system_display_api.cc (right): https://codereview.chromium.org/2558453004/diff/40001/extensions/browser/api/system_display/system_display_api.cc#newcode101 extensions/browser/api/system_display/system_display_api.cc:101: static OverscanTracker* s_overscan_tracker = nullptr; On 2016/12/08 22:03:25, Antony ...
4 years ago (2016-12-08 22:05:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2558453004/60001
4 years ago (2016-12-09 01:17:45 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-09 03:21:51 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-09 03:24:43 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8f2b71add2ce71f468fb8274c20d7ea41d36886b
Cr-Commit-Position: refs/heads/master@{#437448}

Powered by Google App Engine
This is Rietveld 408576698