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

Issue 2378923002: Adds ability to suspend notifying observers when display list is changed (Closed)

Created:
4 years, 2 months ago by sky
Modified:
4 years, 2 months ago
Reviewers:
James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adds ability to suspend notifying observers when display list is changed This is needed so that the add can happen, some processing, then notify observers. I can't do the processing first as the processing may end up querying for the displays. BUG=none TEST=none R=jamescook@chromium.org Committed: https://crrev.com/3e56abe29aec0e9046a3546f58e1551785eeff5d Cr-Commit-Position: refs/heads/master@{#421904}

Patch Set 1 #

Patch Set 2 : cleanup #

Total comments: 9

Patch Set 3 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -24 lines) Patch
M ash/mus/window_manager.cc View 1 2 3 chunks +18 lines, -17 lines 0 comments Download
M ui/display/display_list.h View 1 2 4 chunks +36 lines, -0 lines 0 comments Download
M ui/display/display_list.cc View 1 2 5 chunks +39 lines, -7 lines 0 comments Download
M ui/display/display_list_unittest.cc View 1 2 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
sky
4 years, 2 months ago (2016-09-28 23:30:23 UTC) #2
James Cook
Hmm. This feels complex to me. DisplayListObserverLock feels like it should queue observer notifications, but ...
4 years, 2 months ago (2016-09-29 04:15:05 UTC) #6
sky
I was hoping to make sure nothing additional happened while suspended, but I definitely like ...
4 years, 2 months ago (2016-09-29 18:04:44 UTC) #7
James Cook
Nice. LGTM
4 years, 2 months ago (2016-09-29 19:26:44 UTC) #10
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/2378923002/40001
4 years, 2 months ago (2016-09-29 19:29:56 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-29 19:38:40 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 19:41:47 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3e56abe29aec0e9046a3546f58e1551785eeff5d
Cr-Commit-Position: refs/heads/master@{#421904}

Powered by Google App Engine
This is Rietveld 408576698