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

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

Issue 1585923011: [Template Expressions] changing ${ leader to $i18n{ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix for $i18n comment Created 4 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab_theme.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 496b95b99f8ef3b5fe870d93e3f829ff71ebf948..62ec0921507017397112bb1248940c3437bd6f6b 100644
--- a/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/ntp4/new_incognito_tab_theme.css
@@ -5,21 +5,21 @@
html {
background-attachment: fixed;
- background-color: ${colorBackground};
- background-position: ${backgroundBarDetached};
- background-repeat: ${backgroundTiling};
+ background-color: $i18n{colorBackground};
+ background-position: $i18n{backgroundBarDetached};
+ background-repeat: $i18n{backgroundTiling};
height: 100%;
overflow: auto;
}
html[hascustombackground='true'] {
- background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?${themeId});
+ background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$i18n{themeId});
}
html[bookmarkbarattached='true'] {
- background-position: ${backgroundBarAttached};
+ background-position: $i18n{backgroundBarAttached};
}
#attribution-img {
- content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?${themeId});
+ content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$i18n{themeId});
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab_theme.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698