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

Issue 9169050: aura: No shadow for transparent window. (Closed)

Created:
8 years, 11 months ago by xiyuan
Modified:
8 years, 11 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, dcheng, ben+watch_chromium.org
Visibility:
Public.

Description

aura: No shadow for transparent window. - Add a transparent flag to Window; - Use the transparent in Window::Init to call Layer::SetFillsBoundsOpaquely; - Update ShadowController to use SHADOW_TYPE_NONE for transparent window; Side change: - Make tooltip widget non-transparent as it needs the default shadow; BUG=110916 TEST=Verify fix for issue 110916 and drop-n-drop works as before. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119184

Patch Set 1 #

Patch Set 2 : no shadow for transparent window #

Total comments: 2

Patch Set 3 : fix comments in #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M ash/tooltips/tooltip_controller.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/shadow_controller.cc View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M ui/aura/window.h View 1 2 chunks +6 lines, -0 lines 0 comments Download
M ui/aura/window.cc View 1 3 chunks +8 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
xiyuan
Drag image widget probably should be a popup rather than a tooltip. It is already ...
8 years, 11 months ago (2012-01-25 18:31:59 UTC) #1
Ben Goodger (Google)
My concern here is stacking. It seems like we need this item to be stacked ...
8 years, 11 months ago (2012-01-25 18:38:36 UTC) #2
xiyuan
Please take another look. The CL is changed to fix the problem by applying a ...
8 years, 11 months ago (2012-01-25 21:04:47 UTC) #3
Ben Goodger (Google)
lgtm http://codereview.chromium.org/9169050/diff/3002/ash/wm/shadow_controller.cc File ash/wm/shadow_controller.cc (right): http://codereview.chromium.org/9169050/diff/3002/ash/wm/shadow_controller.cc#newcode26 ash/wm/shadow_controller.cc:26: switch (window->type()) { I think as a general ...
8 years, 11 months ago (2012-01-25 23:02:36 UTC) #4
xiyuan
http://codereview.chromium.org/9169050/diff/3002/ash/wm/shadow_controller.cc File ash/wm/shadow_controller.cc (right): http://codereview.chromium.org/9169050/diff/3002/ash/wm/shadow_controller.cc#newcode26 ash/wm/shadow_controller.cc:26: switch (window->type()) { On 2012/01/25 23:02:36, Ben Goodger (Google) ...
8 years, 11 months ago (2012-01-25 23:33:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/9169050/5002
8 years, 11 months ago (2012-01-26 01:50:38 UTC) #6
commit-bot: I haz the power
8 years, 11 months ago (2012-01-26 03:24:08 UTC) #7
Change committed as 119184

Powered by Google App Engine
This is Rietveld 408576698