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

Issue 2891983003: Fix white flash when opening incognito NTP (Closed)

Created:
3 years, 7 months ago by Marc Treib
Modified:
3 years, 7 months ago
Reviewers:
msramek, Evan Stade
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, arv+watch_chromium.org, pedrosimonetti+watch_chromium.org, msramek
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix white flash when opening incognito NTP This specifies a different default background color when in incognito mode in ThemeProvider::GetDefaultColor, matching the MD incognito NTP. The previous (non-MD) incognito NTP uses an ever-so-slightly different shade of gray, so that still has a barely-noticeable flash. I've checked that this doesn't affect the regular or the guest mode NTP, and that the incognito one works both with and without a theme. BUG=21798 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2891983003 Cr-Commit-Position: refs/heads/master@{#473224} Committed: https://chromium.googlesource.com/chromium/src/+/6886191d1df3fc561df9010fc6c850d282a461de

Patch Set 1 #

Patch Set 2 : fix themed incognito #

Patch Set 3 : . #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -5 lines) Patch
M chrome/browser/resources/ntp4/md_incognito_tab.css View 1 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/themes/theme_properties.cc View 1 2 2 chunks +2 lines, -1 line 2 comments Download

Messages

Total messages: 21 (15 generated)
Marc Treib
estade: Please review! msramek: FYI, touching incognito NTP I'll be out for two weeks now. ...
3 years, 7 months ago (2017-05-19 15:25:16 UTC) #10
Evan Stade
lgtm https://codereview.chromium.org/2891983003/diff/40001/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2891983003/diff/40001/chrome/browser/themes/theme_properties.cc#newcode70 chrome/browser/themes/theme_properties.cc:70: const SkColor kDefaultColorNTPBackgroundOtr = SkColorSetRGB(0x30, 0x30, 0x30); nit: ...
3 years, 7 months ago (2017-05-19 15:34:54 UTC) #11
msramek
Non-owner LGTM, appreciate the fix :)
3 years, 7 months ago (2017-05-19 16:25:12 UTC) #15
Marc Treib
Thanks! https://codereview.chromium.org/2891983003/diff/40001/chrome/browser/themes/theme_properties.cc File chrome/browser/themes/theme_properties.cc (right): https://codereview.chromium.org/2891983003/diff/40001/chrome/browser/themes/theme_properties.cc#newcode70 chrome/browser/themes/theme_properties.cc:70: const SkColor kDefaultColorNTPBackgroundOtr = SkColorSetRGB(0x30, 0x30, 0x30); On ...
3 years, 7 months ago (2017-05-19 17:13:42 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/2891983003/40001
3 years, 7 months ago (2017-05-19 17:14:20 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 17:21:13 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6886191d1df3fc561df9010fc6c8...

Powered by Google App Engine
This is Rietveld 408576698