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

Unified Diff: chrome/browser/resources/local_ntp/local_ntp_fast.js

Issue 1061163003: [New Tab Page] Reset default parameters for NTP title.html, adding param for multiline. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adapting style to local file. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/local_ntp/local_ntp_fast.js
diff --git a/chrome/browser/resources/local_ntp/local_ntp_fast.js b/chrome/browser/resources/local_ntp/local_ntp_fast.js
index 28ca92e10b427ddd4735fc9660331535d511d556..42c646d84a5f5886e085a80e61e56845db31102a 100644
--- a/chrome/browser/resources/local_ntp/local_ntp_fast.js
+++ b/chrome/browser/resources/local_ntp/local_ntp_fast.js
@@ -772,6 +772,8 @@ function init() {
args.push('rtl=1');
if (window.configData.useIcons)
args.push('icons=1');
+ if (NTP_DESIGN.numTitleLines > 1)
+ args.push('ntl=' + NTP_DESIGN.numTitleLines);
args.push('removeTooltip=' +
encodeURIComponent(configData.translatedStrings.removeThumbnailTooltip));

Powered by Google App Engine
This is Rietveld 408576698