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

Issue 412643002: Hide shadow layer when border exceeds layer bounds. (Closed)

Created:
6 years, 5 months ago by hshi1
Modified:
6 years, 5 months ago
Reviewers:
Daniel Erat, sky
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Hide shadow layer when border exceeds layer bounds. When the calculated shadow border exceeds layer bounds we should make the layer invisible instead of clamping the shadow border like we previously did. This matches the behavior of ui::wm::ImageGrid where we set patches as invisible. BUG=395949 TEST=verify that the bug is fixed with this patch. NOTRY=TRUE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284949

Patch Set 1 #

Patch Set 2 : Separate the shadow layer associated with NinePatchLayer from the container parent layer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -20 lines) Patch
M ui/wm/core/shadow.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/wm/core/shadow.cc View 1 6 chunks +26 lines, -20 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
hshi1
PTAL. @sky (OWNER), @derat (FYI) It is known that the NinePatchLayer parameter |border| must not ...
6 years, 5 months ago (2014-07-22 20:33:59 UTC) #1
Daniel Erat
lgtm
6 years, 5 months ago (2014-07-22 20:35:51 UTC) #2
sky
LGTM
6 years, 5 months ago (2014-07-22 21:20:57 UTC) #3
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 5 months ago (2014-07-22 21:21:51 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/412643002/1
6 years, 5 months ago (2014-07-22 21:23:45 UTC) #5
hshi1
The CQ bit was unchecked by hshi@chromium.org
6 years, 5 months ago (2014-07-22 22:35:26 UTC) #6
hshi1
Hi, PS#2 is uploaded which separates |layer_| (not-drawn parent layer of the shadow layer, accessible ...
6 years, 5 months ago (2014-07-22 23:08:53 UTC) #7
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 5 months ago (2014-07-22 23:20:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/412643002/20001
6 years, 5 months ago (2014-07-22 23:24:08 UTC) #9
hshi1
The CQ bit was checked by hshi@chromium.org
6 years, 5 months ago (2014-07-23 16:34:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hshi@chromium.org/412643002/20001
6 years, 5 months ago (2014-07-23 16:36:16 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-23 16:38:17 UTC) #12
Message was sent while issue was closed.
Change committed as 284949

Powered by Google App Engine
This is Rietveld 408576698