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

Issue 1440113002: [MD] Change appearance of incognito NTP to MD spec. (Closed)

Created:
5 years, 1 month ago by Evan Stade
Modified:
5 years ago
Reviewers:
Dan Beam
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, arv+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[MD] Change appearance of incognito NTP to MD spec. OTR: - rearrange the page elements, but leaves text almost unchanged - default bg is #323232 - if the theme provides an image and bg color, use that, but still use a #323232 box around the text - fix bug where we were using normal NTP css for OTR NTP Guest: - remove all the theming stuff from guest mode, as guests can't have themes. Greatly simplifies things. - new appearance is a crossover between old appearance and modifications to OTR mode. TODO: - the links should actually be polymer buttons BUG=555040 Committed: https://crrev.com/b561e0dc52b257b98e0f8a1373dd7a744b69b63d Cr-Commit-Position: refs/heads/master@{#361499}

Patch Set 1 #

Patch Set 2 : guest #

Total comments: 14

Patch Set 3 : rebase and change stuff #

Patch Set 4 : cant remember if i changed anything #

Total comments: 8

Patch Set 5 : dbeam review #

Patch Set 6 : . #

Total comments: 1

Patch Set 7 : git add my little friend #

Patch Set 8 : fix typo #

Patch Set 9 : no themes in guest #

Patch Set 10 : reimprove small width window layout #

Patch Set 11 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -149 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/ntp4/guest_tab.css View 1 1 chunk +2 lines, -26 lines 0 comments Download
M chrome/browser/resources/ntp4/guest_tab.html View 1 1 chunk +2 lines, -13 lines 0 comments Download
M chrome/browser/resources/ntp4/incognito_and_guest_tab.css View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -25 lines 0 comments Download
M chrome/browser/resources/ntp4/incognito_tab.css View 1 2 3 4 5 6 7 8 9 1 chunk +11 lines, -19 lines 0 comments Download
M chrome/browser/resources/ntp4/incognito_tab.html View 1 2 3 4 5 6 7 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/resources/ntp4/new_incognito_tab_theme.css View 1 2 3 4 1 chunk +6 lines, -3 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/new_tab_ui.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +25 lines, -51 lines 0 comments Download
M chrome/browser/ui/webui/theme_handler.cc View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/theme_source.cc View 1 chunk +2 lines, -1 line 0 comments Download
D ui/webui/resources/images/2x/incognito_icon.png View 1 Binary file 0 comments Download
D ui/webui/resources/images/incognito_icon.png View 1 Binary file 0 comments Download
A ui/webui/resources/images/incognito_splash.svg View 1 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 47 (19 generated)
Evan Stade
5 years, 1 month ago (2015-11-13 01:18:49 UTC) #3
Dan Beam
can I have screenshots? also, I see your TODO: will this be addressed by the ...
5 years, 1 month ago (2015-11-13 01:32:22 UTC) #5
Dan Beam
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/theme_source.cc File chrome/browser/ui/webui/theme_source.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/theme_source.cc#newcode71 chrome/browser/ui/webui/theme_source.cc:71: // NB: it's important that this is |profile| and ...
5 years, 1 month ago (2015-11-13 01:33:23 UTC) #6
Evan Stade
On 2015/11/13 01:32:22, Dan Beam wrote: > can I have screenshots? also, I see your ...
5 years, 1 month ago (2015-11-13 01:39:00 UTC) #7
Evan Stade
ping
5 years, 1 month ago (2015-11-16 18:45:59 UTC) #8
Dan Beam
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode558 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:558: ? ".doesNotHaveCustomBackground" On 2015/11/13 01:39:00, Evan Stade wrote: > ...
5 years, 1 month ago (2015-11-16 19:57:25 UTC) #9
Evan Stade
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode558 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:558: ? ".doesNotHaveCustomBackground" On 2015/11/16 19:57:25, Dan Beam wrote: > ...
5 years, 1 month ago (2015-11-16 20:10:08 UTC) #10
Dan Beam
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode558 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:558: ? ".doesNotHaveCustomBackground" On 2015/11/16 20:10:08, Evan Stade wrote: > ...
5 years, 1 month ago (2015-11-17 00:18:59 UTC) #11
Dan Beam
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode558 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:558: ? ".doesNotHaveCustomBackground" On 2015/11/17 00:18:59, Dan Beam wrote: > ...
5 years, 1 month ago (2015-11-17 00:26:15 UTC) #12
Evan Stade
https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (right): https://codereview.chromium.org/1440113002/diff/20001/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#newcode272 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:272: if (!new_tab_css_.get()) On 2015/11/13 01:39:00, Evan Stade wrote: > ...
5 years, 1 month ago (2015-11-19 23:05:24 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/60001
5 years, 1 month ago (2015-11-19 23:08:34 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/125687)
5 years, 1 month ago (2015-11-19 23:19:15 UTC) #17
Dan Beam
looks pretty good to me https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_and_guest_tab.css File chrome/browser/resources/ntp4/incognito_and_guest_tab.css (right): https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_and_guest_tab.css#newcode39 chrome/browser/resources/ntp4/incognito_and_guest_tab.css:39: html[hasCustomBackground='true'] .content { nit: ...
5 years, 1 month ago (2015-11-20 00:48:45 UTC) #18
Dan Beam
https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_tab.html File chrome/browser/resources/ntp4/incognito_tab.html (right): https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_tab.html#newcode45 chrome/browser/resources/ntp4/incognito_tab.html:45: /** @param {!{hasCustomBackground: boolean}} themeData */
5 years, 1 month ago (2015-11-20 00:50:31 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/80001
5 years, 1 month ago (2015-11-20 22:04:59 UTC) #21
Evan Stade
https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_and_guest_tab.css File chrome/browser/resources/ntp4/incognito_and_guest_tab.css (right): https://codereview.chromium.org/1440113002/diff/60001/chrome/browser/resources/ntp4/incognito_and_guest_tab.css#newcode39 chrome/browser/resources/ntp4/incognito_and_guest_tab.css:39: html[hasCustomBackground='true'] .content { On 2015/11/20 00:48:45, Dan Beam wrote: ...
5 years, 1 month ago (2015-11-20 22:05:17 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/100001
5 years, 1 month ago (2015-11-20 22:07:07 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/126245) mac_chromium_rel_ng on ...
5 years, 1 month ago (2015-11-20 22:17:33 UTC) #26
Dan Beam
lgtm https://codereview.chromium.org/1440113002/diff/100001/chrome/browser/resources/ntp4/incognito_tab.css File chrome/browser/resources/ntp4/incognito_tab.css (right): https://codereview.chromium.org/1440113002/diff/100001/chrome/browser/resources/ntp4/incognito_tab.css#newcode11 chrome/browser/resources/ntp4/incognito_tab.css:11: content: url(../../../../ui/webui/resources/images/incognito_splash.svg); git add ui/webui/resources/images/incognito_splash.svg
5 years, 1 month ago (2015-11-21 00:31:42 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/120001
5 years, 1 month ago (2015-11-21 00:37:04 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/144165)
5 years, 1 month ago (2015-11-21 01:18:56 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/140001
5 years, 1 month ago (2015-11-23 19:09:12 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/92188) mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-23 19:47:28 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/170001
5 years, 1 month ago (2015-11-24 03:20:10 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/145090) win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, ...
5 years, 1 month ago (2015-11-24 03:57:31 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1440113002/190001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1440113002/190001
5 years ago (2015-11-24 21:27:04 UTC) #45
commit-bot: I haz the power
Committed patchset #11 (id:190001)
5 years ago (2015-11-25 00:44:07 UTC) #46
commit-bot: I haz the power
5 years ago (2015-11-25 00:45:35 UTC) #47
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/b561e0dc52b257b98e0f8a1373dd7a744b69b63d
Cr-Commit-Position: refs/heads/master@{#361499}

Powered by Google App Engine
This is Rietveld 408576698