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

Issue 1758183002: CrOS: Don't paint tab-loading spinners in layers while in immersive fullscreen. (Closed)

Created:
4 years, 9 months ago by tapted
Modified:
4 years, 9 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, miu+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CrOS: Don't paint tab-loading spinners in layers while in immersive fullscreen. This regressed in r362878 which didn't handle a case where animations occur in immersive fullscreen. To fix, disable layer-painting of tab spinners while in fullscreen. In most cases the tab is hidden or animating; layers shouldn't be used. When the tab strip is fully revealed we could use layers, but the benefit isn't worth the extra logic. BUG=591535 TEST=On CrOS, enter immersive fullscreen, reload a page, reveal the tab strip while the page is still loading, then move the mouse down to dismiss the tab strip. Ensure a frozen throbber doesn't stick around, floating over the page. Committed: https://crrev.com/fde5de1bc63b656dabaafef3e5b59badcc613a22 Cr-Commit-Position: refs/heads/master@{#379140}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Null check Widget #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_strip.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
tapted
Hi sky please take a look. And sorry for the regression! I'll try to merge ...
4 years, 9 months ago (2016-03-03 05:01:57 UTC) #5
sky
https://codereview.chromium.org/1758183002/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/1758183002/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1387 chrome/browser/ui/views/tabs/tab_strip.cc:1387: !GetWidget()->IsFullscreen(); Are you sure you don't need a null ...
4 years, 9 months ago (2016-03-03 20:31:01 UTC) #6
tapted
https://codereview.chromium.org/1758183002/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc File chrome/browser/ui/views/tabs/tab_strip.cc (right): https://codereview.chromium.org/1758183002/diff/1/chrome/browser/ui/views/tabs/tab_strip.cc#newcode1387 chrome/browser/ui/views/tabs/tab_strip.cc:1387: !GetWidget()->IsFullscreen(); On 2016/03/03 20:31:01, sky wrote: > Are you ...
4 years, 9 months ago (2016-03-03 22:44:07 UTC) #7
sky
LGTM
4 years, 9 months ago (2016-03-03 23:43:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1758183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1758183002/20001
4 years, 9 months ago (2016-03-03 23:45:04 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-03 23:51:04 UTC) #12
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 23:52:27 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fde5de1bc63b656dabaafef3e5b59badcc613a22
Cr-Commit-Position: refs/heads/master@{#379140}

Powered by Google App Engine
This is Rietveld 408576698