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

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

Issue 16610002: High DPI support for themes: Raw images for NTP attribution and background (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update css Created 7 years, 6 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.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/new_incognito_tab_theme.css
diff --git a/chrome/browser/resources/new_incognito_tab_theme.css b/chrome/browser/resources/new_incognito_tab_theme.css
index b4662c9e5fa048cba478950fd036de3f71b21536..f96288898fac8dd9cd0d1eee82b51b03b902486e 100644
--- a/chrome/browser/resources/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/new_incognito_tab_theme.css
@@ -6,14 +6,17 @@
html {
background-attachment: fixed;
background-color: $2;
- background-image: -webkit-image-set(
- url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1) 1x);
+ background-image: url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1);
background-position: $3;
background-repeat: $5;
height: 100%;
overflow: auto;
}
+#attribution-img {
+ content: url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION?$1);
+}
+
html[bookmarkbarattached='true'] {
background-position: $4;
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698