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

Unified Diff: chrome/browser/resources/ntp4/new_incognito_tab_theme.css

Issue 1220793010: [ui/base;css] adding string template expression replacement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing changes to base/strings Created 5 years, 5 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/ntp4/new_incognito_tab_theme.css
diff --git a/chrome/browser/resources/ntp4/new_incognito_tab_theme.css b/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
index b4d1df12dbd15e744c6ba5937c94a12118ce098a..4409afc16c98730b36f9dab5377531cc3ab0bfb4 100644
--- a/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
@@ -5,18 +5,21 @@
html {
background-attachment: fixed;
- background-color: $2;
- background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
- background-position: $3;
- background-repeat: $5;
+ background-color: ${colorBackground};
+ background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId});
+ background-position: ${backgroundBarDetached};
+ background-repeat: ${backgroundTiling};
height: 100%;
overflow: auto;
}
+dave {
+
+}
Dan Beam 2015/07/09 19:26:01 don't mean to cramp your style but... can you remo
dschuyler 2015/07/14 00:56:17 Done.
#attribution-img {
- content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
+ content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId});
}
html[bookmarkbarattached='true'] {
- background-position: $4;
+ background-position: ${backgroundBarAttached};
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab_theme.css » ('j') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698