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

Issue 302153002: Update Status Area Paint Scheduling (Closed)

Created:
6 years, 6 months ago by jonross
Modified:
6 years, 6 months ago
Reviewers:
flackr, oshima
CC:
chromium-reviews, kalyank, sadrul, ben+ash_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Update Status Area Paint Scheduling With each TrayBackgroundView now backed by its own layer, calling SchedulePaint on StatusAreaWidgetDelegate no longer notifies them of the need to paint. When the shelf changes its dimming state it triggers painting. Add support for StatusAreaWidget to notify each of the layer backed trays that painting is needed TEST=Launch a non-maximized browser. The system tray will be a dark grey. Maximize the browser. The tray should be a lighter grey. This will mimic the colour changes of the application launcher on the shelf. BUG=378115 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274318

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M ash/shelf/shelf_widget.cc View 1 1 chunk +1 line, -1 line 2 comments Download
M ash/system/status_area_widget.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ash/system/status_area_widget.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jonross
6 years, 6 months ago (2014-05-30 15:37:10 UTC) #1
flackr
Looks reasonable to me, add a TEST= line describing briefly how to manually verify this. ...
6 years, 6 months ago (2014-05-30 15:42:14 UTC) #2
jonross
https://codereview.chromium.org/302153002/diff/1/ash/shelf/shelf_widget.cc File ash/shelf/shelf_widget.cc (right): https://codereview.chromium.org/302153002/diff/1/ash/shelf/shelf_widget.cc#newcode721 ash/shelf/shelf_widget.cc:721: status_area_widget_->ShelfDimChanged(); On 2014/05/30 15:42:15, flackr wrote: > Maybe this ...
6 years, 6 months ago (2014-05-30 15:56:06 UTC) #3
flackr
lgtm, it might be worth renaming to SchedulePaintOnChildLayers or something to be clear that it's ...
6 years, 6 months ago (2014-05-30 18:13:19 UTC) #4
jonross
+oshima for owners review. @flackr I didn't name it SchedulePaintOnChildLayers in the first pass as ...
6 years, 6 months ago (2014-05-30 18:19:51 UTC) #5
oshima
https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc File ash/shelf/shelf_widget.cc (left): https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc#oldcode720 ash/shelf/shelf_widget.cc:720: status_area_widget_->GetContentsView()->SchedulePaint(); won't GetNativeView()->SchedulePaintInRect() work? (not sure why Window::SchedulePaint() is ...
6 years, 6 months ago (2014-05-31 15:10:36 UTC) #6
jonross
https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc File ash/shelf/shelf_widget.cc (left): https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc#oldcode720 ash/shelf/shelf_widget.cc:720: status_area_widget_->GetContentsView()->SchedulePaint(); On 2014/05/31 15:10:36, oshima wrote: > won't GetNativeView()->SchedulePaintInRect() ...
6 years, 6 months ago (2014-06-02 14:57:09 UTC) #7
oshima
On 2014/06/02 14:57:09, jonross wrote: > https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc > File ash/shelf/shelf_widget.cc (left): > > https://codereview.chromium.org/302153002/diff/20001/ash/shelf/shelf_widget.cc#oldcode720 > ...
6 years, 6 months ago (2014-06-02 17:22:54 UTC) #8
jonross
The CQ bit was checked by jonross@chromium.org
6 years, 6 months ago (2014-06-02 17:24:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jonross@chromium.org/302153002/20001
6 years, 6 months ago (2014-06-02 17:25:21 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 20:37:50 UTC) #11
Message was sent while issue was closed.
Change committed as 274318

Powered by Google App Engine
This is Rietveld 408576698