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

Issue 1061163003: [New Tab Page] Reset default parameters for NTP title.html, adding param for multiline. (Closed)

Created:
5 years, 8 months ago by huangs
Modified:
5 years, 8 months ago
Reviewers:
Mathieu, fserb
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, jfweitz+watch_chromium.org, David Black, arv+watch_chromium.org, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[New Tab Page] Reset default parameters for NTP title.html, adding param for multiline. http://crrev.com/1047223004 added experimental icon NTP support and changed default "white-space: nowrap" to "white-space: pre-wrap", then make current Material Design select the old one. This is broke 3rd-party NTPs that don't have the same setting. This CL changes the defaults back, and adds a new "ntl" to signal intent of having multiline titles. Also updated single-iframe NTP to match. BUG=474164 Committed: https://crrev.com/1826022c5cffbcc3cc44a6162b01236a2a952410 Cr-Commit-Position: refs/heads/master@{#324097}

Patch Set 1 #

Patch Set 2 : Adapting style to local file. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -13 lines) Patch
M chrome/browser/resources/local_ntp/local_ntp.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_ntp/local_ntp_design.js View 4 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_ntp/local_ntp_fast.js View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_single.css View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_single.js View 1 3 chunks +21 lines, -5 lines 2 comments Download
M chrome/browser/resources/local_ntp/most_visited_title.css View 1 chunk +8 lines, -2 lines 0 comments Download
M chrome/browser/resources/local_ntp/most_visited_util.js View 4 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
huangs
Oops forgot to send out. PTAL.
5 years, 8 months ago (2015-04-07 03:36:33 UTC) #2
Mathieu
On 2015/04/07 03:36:33, huangs wrote: > Oops forgot to send out. PTAL. lgtm
5 years, 8 months ago (2015-04-07 13:28:00 UTC) #3
fserb
https://codereview.chromium.org/1061163003/diff/20001/chrome/browser/resources/local_ntp/most_visited_single.js File chrome/browser/resources/local_ntp/most_visited_single.js (right): https://codereview.chromium.org/1061163003/diff/20001/chrome/browser/resources/local_ntp/most_visited_single.js#newcode355 chrome/browser/resources/local_ntp/most_visited_single.js:355: if (NUM_TITLE_LINES > 1) { How is this supposed ...
5 years, 8 months ago (2015-04-07 17:25:13 UTC) #4
huangs
Responded. https://codereview.chromium.org/1061163003/diff/20001/chrome/browser/resources/local_ntp/most_visited_single.js File chrome/browser/resources/local_ntp/most_visited_single.js (right): https://codereview.chromium.org/1061163003/diff/20001/chrome/browser/resources/local_ntp/most_visited_single.js#newcode355 chrome/browser/resources/local_ntp/most_visited_single.js:355: if (NUM_TITLE_LINES > 1) { It's number of ...
5 years, 8 months ago (2015-04-07 17:28:22 UTC) #5
chromium-reviews
But then, what does this do right now? On Tue, Apr 7, 2015 at 1:28 ...
5 years, 8 months ago (2015-04-07 17:51:05 UTC) #6
huangs
The variable, if > 1, causes ".multiline" to be added to each title, which by ...
5 years, 8 months ago (2015-04-07 18:04:11 UTC) #7
fserb
On 2015/04/07 18:04:11, huangs wrote: > The variable, if > 1, causes ".multiline" to be ...
5 years, 8 months ago (2015-04-07 20:00:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061163003/20001
5 years, 8 months ago (2015-04-07 20:01:08 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-07 20:06:03 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 20:07:33 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1826022c5cffbcc3cc44a6162b01236a2a952410
Cr-Commit-Position: refs/heads/master@{#324097}

Powered by Google App Engine
This is Rietveld 408576698