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

Issue 390273002: Experimental app list banner now appears on top of launcher pages. (Closed)

Created:
6 years, 5 months ago by Matt Giuca
Modified:
6 years, 5 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Project:
chromium
Visibility:
Public.

Description

Experimental app list banner now appears on top of launcher pages. The banner is now its own view (instead of being painted directly onto the background), and the view paints to a layer, so that it appears on top of other layers such as the WebContents of the custom launcher pages. BUG=393858 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283256

Patch Set 1 #

Patch Set 2 : Don't show banner if not experimental. #

Total comments: 2

Patch Set 3 : Avoid making two calls to set position. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -10 lines) Patch
M ui/app_list/views/app_list_background.cc View 2 chunks +0 lines, -10 lines 0 comments Download
M ui/app_list/views/app_list_view.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/app_list/views/app_list_view.cc View 1 2 5 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Matt Giuca
6 years, 5 months ago (2014-07-15 04:11:43 UTC) #1
calamity
lgtm https://codereview.chromium.org/390273002/diff/20001/ui/app_list/views/app_list_view.cc File ui/app_list/views/app_list_view.cc (right): https://codereview.chromium.org/390273002/diff/20001/ui/app_list/views/app_list_view.cc#newcode482 ui/app_list/views/app_list_view.cc:482: contents_bounds.height() - image_bounds.height())); You can avoid making two ...
6 years, 5 months ago (2014-07-15 08:57:58 UTC) #2
Matt Giuca
The CQ bit was checked by mgiuca@chromium.org
6 years, 5 months ago (2014-07-15 09:11:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mgiuca@chromium.org/390273002/40001
6 years, 5 months ago (2014-07-15 09:12:12 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-15 19:26:15 UTC) #5
commit-bot: I haz the power
Change committed as 283256
6 years, 5 months ago (2014-07-15 21:50:30 UTC) #6
Matt Giuca
6 years, 5 months ago (2014-07-16 00:18:07 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/390273002/diff/20001/ui/app_list/views/app_li...
File ui/app_list/views/app_list_view.cc (right):

https://codereview.chromium.org/390273002/diff/20001/ui/app_list/views/app_li...
ui/app_list/views/app_list_view.cc:482: contents_bounds.height() -
image_bounds.height()));
On 2014/07/15 08:57:58, calamity wrote:
> You can avoid making two calls here.
> 
> image_bounds.set_origin(
>     gfx::Point(contents_bounds.width() - image_bounds.width(),
>                contents_bounds.height() - image_bounds.height());
> experimental_banner_view_->SetBoundsRect(image_bounds);

Done.

Powered by Google App Engine
This is Rietveld 408576698