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

Issue 512583002: [Local NTP] Implement style updates for Material Design (Closed)

Created:
6 years, 3 months ago by huangs
Modified:
6 years, 3 months ago
Reviewers:
Mathieu, oshima
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, oshima+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Local NTP] Implement style updates for Material Design Applying new styling, with some refactoring and bug fixes. Details: - Sizing and positioning tweaks. - Change of assets for "X" and for default favicon (if it's missing). - Using image as mask, and setting color by CSS (since design uses solid colors). - The new PNG files have been minimized. - Fixed bug: "Undo" and "Restore All" links continue to be selectable via tab after they fades out. - Alternative Google logo (white): using image as mask and setting background color to #eee. Will delete old image for M39. - Theme title color in title.html <iframe>: now injecting it from local NTP in "c=RRGGBBAA" format. The old behavior of reading it from <iframe> and using it to override "c=RRGGBB" are kept, for compatibility with server-side NTP. BUG=407943 NOTRY=1 R=mathp@chromium.org, oshima@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/00f25d4b013c5aa5e619aacd9e160de53379fe75

Patch Set 1 : #

Total comments: 14

Patch Set 2 : Removing unused resources; fixing comments. #

Total comments: 2

Patch Set 3 : Style and .grd tweak. #

Patch Set 4 : Move assets to common/; switching to -webkit-image-set() for 2x images. #

Patch Set 5 : Synched; removing ntp_white_google_logo.png again. #

Patch Set 6 : Putting back white logos; showing Fakebox text when not focused. #

Patch Set 7 : Fix non-Google case (and unit test); remove extra .grd comment for stability. #

Patch Set 8 : Small comment fix. #

Messages

Total messages: 42 (8 generated)
huangs
Patchset #1 (id:1) has been deleted
6 years, 3 months ago (2014-08-27 02:21:02 UTC) #1
huangs
huangs@chromium.org changed reviewers: + mathp@chromium.org
6 years, 3 months ago (2014-08-27 02:21:38 UTC) #2
huangs
PTAL.
6 years, 3 months ago (2014-08-27 02:21:38 UTC) #3
Mathieu
Looks really good https://codereview.chromium.org/512583002/diff/20001/chrome/browser/resources/local_ntp/local_ntp.css File chrome/browser/resources/local_ntp/local_ntp.css (right): https://codereview.chromium.org/512583002/diff/20001/chrome/browser/resources/local_ntp/local_ntp.css#newcode56 chrome/browser/resources/local_ntp/local_ntp.css:56: -webkit-mask-image: url(images/google_logo.png@2x); are we no longer ...
6 years, 3 months ago (2014-08-27 14:54:53 UTC) #4
huangs
Updated, PTAL. There is an existing problem in Chrome themes that by default, makes Google ...
6 years, 3 months ago (2014-08-27 18:13:53 UTC) #5
Mathieu
chrome/browser/resources/local_ntp lgtm https://codereview.chromium.org/512583002/diff/40001/ui/resources/ui_resources.grd File ui/resources/ui_resources.grd (right): https://codereview.chromium.org/512583002/diff/40001/ui/resources/ui_resources.grd#newcode355 ui/resources/ui_resources.grd:355: <structure type="chrome_scaled_image" name="IDR_NTP_DEFAULT_FAVICON" file="ntp_default_favicon.png" /> nit: create ...
6 years, 3 months ago (2014-08-27 19:28:54 UTC) #6
huangs
huangs@chromium.org changed reviewers: + oshima@chromium.org
6 years, 3 months ago (2014-08-27 19:55:36 UTC) #7
huangs
OWNER review to oshima@ for image assets: - added 2 * {100%, 200%} images - ...
6 years, 3 months ago (2014-08-27 19:55:36 UTC) #8
oshima
can you move new png files to common subdirectory like the old files were?
6 years, 3 months ago (2014-08-27 21:10:33 UTC) #9
huangs
Just confirming before actually moving the files: Then new PNG do not replace the one ...
6 years, 3 months ago (2014-08-27 21:36:43 UTC) #10
oshima
On 2014/08/27 21:36:43, huangs1 wrote: > Just confirming before actually moving the files: > > ...
6 years, 3 months ago (2014-08-27 22:16:55 UTC) #11
huangs
Updated. I was going to move close_2*.png, but turns out they are used elsewhere, and ...
6 years, 3 months ago (2014-08-28 16:09:03 UTC) #12
oshima
lgtm
6 years, 3 months ago (2014-08-28 21:48:29 UTC) #13
huangs
Note that there's a bug in CSS checker that would cause presubmit to complain. The ...
6 years, 3 months ago (2014-08-28 21:50:06 UTC) #14
huangs
The CQ bit was checked by huangs@chromium.org
6 years, 3 months ago (2014-08-28 21:51:14 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/512583002/80001
6 years, 3 months ago (2014-08-28 21:51:54 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-28 22:06:24 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 22:08:51 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/47839)
6 years, 3 months ago (2014-08-28 22:08:52 UTC) #19
huangs
This CL collided with https://codereview.chromium.org/512943003 , where the Google logo assets get moved. Also, it ...
6 years, 3 months ago (2014-08-29 15:47:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/512583002/120001
6 years, 3 months ago (2014-08-29 18:47:32 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/512583002/140001
6 years, 3 months ago (2014-08-29 21:59:21 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-29 23:14:20 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/7774)
6 years, 3 months ago (2014-08-29 23:19:26 UTC) #28
huangs
The presubmit failure is is caused by CSS check bug, detailed in. https://code.google.com/p/chromium/issues/detail?id=408759 I made ...
6 years, 3 months ago (2014-08-31 07:49:16 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/512583002/160001
6 years, 3 months ago (2014-08-31 07:50:11 UTC) #31
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-31 08:44:29 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/7922)
6 years, 3 months ago (2014-08-31 08:48:00 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/huangs@chromium.org/512583002/160001
6 years, 3 months ago (2014-08-31 14:44:35 UTC) #36
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-08-31 14:47:15 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/7931)
6 years, 3 months ago (2014-08-31 14:51:16 UTC) #39
huangs
Will have to use "git cl land".
6 years, 3 months ago (2014-08-31 14:53:02 UTC) #40
huangs
Committed patchset #8 (id:160001) manually as 00f25d4 (presubmit successful).
6 years, 3 months ago (2014-08-31 18:20:39 UTC) #41
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:15:09 UTC) #42
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/00f25d4b013c5aa5e619aacd9e160de53379fe75
Cr-Commit-Position: refs/heads/master@{#292820}

Powered by Google App Engine
This is Rietveld 408576698