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

Issue 2837903002: Do not hide shadow underlay for max/fullscreen state even if the client disables the shadow. (Closed)

Created:
3 years, 8 months ago by oshima
Modified:
3 years, 8 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not hide shadow underlay for max/fullscreen state even if the client disables the shadow. * Make sure resets all shadow layers when the switching between deprecated shadow. * Don't try to show the window that is already visible. This is reland of crrev.com/2820493004 with a fix for crbug.com/713560 R=reveman@chromium.org BUG=BUG=711514 TEST=covered by unit tests. manual. Instal & start "Clash Royal", then F4 to toggle fullscreen. Tested on MNC and NYC devices as well. Review-Url: https://codereview.chromium.org/2837903002 Cr-Commit-Position: refs/heads/master@{#467485} Committed: https://chromium.googlesource.com/chromium/src/+/27b41b0b6fb0317aa944f2bdf7e4879628aab83c

Patch Set 1 #

Total comments: 1

Patch Set 2 : Do not hide shadow underlay for max/fullscreen state even if the client disables the shadow. #

Total comments: 9

Patch Set 3 : addressed comments #

Total comments: 12

Patch Set 4 : addressed comments #

Patch Set 5 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -30 lines) Patch
M components/exo/shell_surface.h View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 3 4 10 chunks +35 lines, -26 lines 0 comments Download
M components/exo/shell_surface_unittest.cc View 2 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
oshima
3 years, 8 months ago (2017-04-24 17:22:41 UTC) #2
oshima
https://codereview.chromium.org/2837903002/diff/1/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/1/components/exo/shell_surface.cc#newcode631 components/exo/shell_surface.cc:631: ResetShadowWindows(); It was crashing because we were mixing overlay ...
3 years, 8 months ago (2017-04-24 17:23:59 UTC) #4
oshima
https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc#newcode1689 components/exo/shell_surface.cc:1689: if (!shadow_underlay_->IsVisible()) Not sure why I missed the original ...
3 years, 8 months ago (2017-04-25 17:04:40 UTC) #12
reveman
https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc#newcode631 components/exo/shell_surface.cc:631: ResetShadowWindows(); Should these calls be deferred until commit? What ...
3 years, 8 months ago (2017-04-25 18:04:40 UTC) #13
oshima
https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc#newcode631 components/exo/shell_surface.cc:631: ResetShadowWindows(); On 2017/04/25 18:04:40, reveman wrote: > Should these ...
3 years, 8 months ago (2017-04-26 16:36:11 UTC) #14
reveman
lgtm with nits https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc#newcode886 components/exo/shell_surface.cc:886: ResetShadowWindows(); On 2017/04/26 at 16:36:11, oshima ...
3 years, 8 months ago (2017-04-26 18:00:57 UTC) #15
oshima
https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2837903002/diff/20001/components/exo/shell_surface.cc#newcode886 components/exo/shell_surface.cc:886: ResetShadowWindows(); On 2017/04/26 18:00:56, reveman wrote: > On 2017/04/26 ...
3 years, 8 months ago (2017-04-26 21:45:02 UTC) #16
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/2837903002/80001
3 years, 8 months ago (2017-04-26 21:50:43 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-26 22:35:55 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/27b41b0b6fb0317aa944f2bdf7e4...

Powered by Google App Engine
This is Rietveld 408576698