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

Issue 2099893002: Mus: Fixes rendering of transparent containers. (Closed)

Created:
4 years, 6 months ago by mfomitchev
Modified:
4 years, 5 months ago
Reviewers:
Fady Samuel, sky
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mus: Fixes rendering of transparent containers. Pre-fix, setting opacity on the parent window did not affect how the child windows were rendered. Effective opacity of window contents when rendered needs to be a product of the opacities of the window and all its ancestors. This CL fixes the issue and adds a unit test. BUG=NONE Committed: https://crrev.com/0c2f515ccb40f6ecb9c2a04acf6187cd32f00715 Cr-Commit-Position: refs/heads/master@{#404171}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Rebase on top of FrameGenerator refactor, also addressing feedback. #

Total comments: 2

Patch Set 3 : Rebase. #

Patch Set 4 : Moving an include. #

Total comments: 4

Patch Set 5 : Fix namespace comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -3 lines) Patch
M services/ui/ws/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/ws/frame_generator.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M services/ui/ws/frame_generator.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
A services/ui/ws/frame_generator_unittest.cc View 1 2 3 4 1 chunk +131 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download
M services/ui/ws/test_utils.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 30 (13 generated)
mfomitchev
4 years, 6 months ago (2016-06-25 02:28:49 UTC) #2
sky
https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display.h File components/mus/ws/platform_display.h (right): https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display.h#newcode149 components/mus/ws/platform_display.h:149: friend class mus::ws::test::PlatformDisplayTest; If you're going to friend this, ...
4 years, 5 months ago (2016-06-27 15:17:08 UTC) #3
Fady Samuel
https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display_unittest.cc File components/mus/ws/platform_display_unittest.cc (right): https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display_unittest.cc#newcode116 components/mus/ws/platform_display_unittest.cc:116: EXPECT_EQ(2u, quad_state_list->size()); On 2016/06/27 15:17:08, sky wrote: > How ...
4 years, 5 months ago (2016-06-27 15:20:03 UTC) #5
mfomitchev
Rewrote this on top of the FrameGenerator refactor, PTAL. https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display.h File components/mus/ws/platform_display.h (right): https://codereview.chromium.org/2099893002/diff/1/components/mus/ws/platform_display.h#newcode149 components/mus/ws/platform_display.h:149: ...
4 years, 5 months ago (2016-06-30 22:06:03 UTC) #6
sky
LGTM https://codereview.chromium.org/2099893002/diff/20001/components/mus/ws/frame_generator_unittest.cc File components/mus/ws/frame_generator_unittest.cc (right): https://codereview.chromium.org/2099893002/diff/20001/components/mus/ws/frame_generator_unittest.cc#newcode11 components/mus/ws/frame_generator_unittest.cc:11: #include "components/mus/ws/frame_generator.h" nit: this should be your first ...
4 years, 5 months ago (2016-07-01 16:04:14 UTC) #7
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/2099893002/40001
4 years, 5 months ago (2016-07-07 02:02:52 UTC) #10
mfomitchev
https://codereview.chromium.org/2099893002/diff/20001/components/mus/ws/frame_generator_unittest.cc File components/mus/ws/frame_generator_unittest.cc (right): https://codereview.chromium.org/2099893002/diff/20001/components/mus/ws/frame_generator_unittest.cc#newcode11 components/mus/ws/frame_generator_unittest.cc:11: #include "components/mus/ws/frame_generator.h" On 2016/07/01 16:04:13, sky wrote: > nit: ...
4 years, 5 months ago (2016-07-07 14:49:56 UTC) #12
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/2099893002/60001
4 years, 5 months ago (2016-07-07 14:50:32 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/32567)
4 years, 5 months ago (2016-07-07 14:56:14 UTC) #17
Fady Samuel
https://codereview.chromium.org/2099893002/diff/60001/services/ui/ws/frame_generator_unittest.cc File services/ui/ws/frame_generator_unittest.cc (right): https://codereview.chromium.org/2099893002/diff/60001/services/ui/ws/frame_generator_unittest.cc#newcode130 services/ui/ws/frame_generator_unittest.cc:130: } // namespace ui nit: ws https://codereview.chromium.org/2099893002/diff/60001/services/ui/ws/frame_generator_unittest.cc#newcode131 services/ui/ws/frame_generator_unittest.cc:131: } ...
4 years, 5 months ago (2016-07-07 15:12:33 UTC) #18
mfomitchev
https://codereview.chromium.org/2099893002/diff/60001/services/ui/ws/frame_generator_unittest.cc File services/ui/ws/frame_generator_unittest.cc (right): https://codereview.chromium.org/2099893002/diff/60001/services/ui/ws/frame_generator_unittest.cc#newcode130 services/ui/ws/frame_generator_unittest.cc:130: } // namespace ui On 2016/07/07 15:12:33, Fady Samuel ...
4 years, 5 months ago (2016-07-07 15:16:41 UTC) #19
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/2099893002/80001
4 years, 5 months ago (2016-07-07 15:20:04 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/builds/32583)
4 years, 5 months ago (2016-07-07 15:25:19 UTC) #24
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/2099893002/80001
4 years, 5 months ago (2016-07-07 15:36:00 UTC) #26
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-07-07 17:42:23 UTC) #27
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-07 17:42:45 UTC) #28
commit-bot: I haz the power
4 years, 5 months ago (2016-07-07 17:43:30 UTC) #30
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0c2f515ccb40f6ecb9c2a04acf6187cd32f00715
Cr-Commit-Position: refs/heads/master@{#404171}

Powered by Google App Engine
This is Rietveld 408576698