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

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: 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
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..c7e464d491bb35fa032f5c244a34c646d0c91dcd 100644
--- a/chrome/browser/resources/new_incognito_tab_theme.css
+++ b/chrome/browser/resources/new_incognito_tab_theme.css
@@ -7,13 +7,20 @@ html {
background-attachment: fixed;
background-color: $2;
background-image: -webkit-image-set(
- url(chrome://theme/IDR_THEME_NTP_BACKGROUND?$1) 1x);
+ url(chrome://theme/IDR_THEME_NTP_BACKGROUND@1x?$1) 1x,
pkotwicz 2013/06/07 14:57:15 - After talking to flackr@, we want to change chro
sschmitz 2013/06/07 21:13:54 Can this CL proceed before that change?
+ url(chrome://theme/IDR_THEME_NTP_BACKGROUND@2x?$1) 2x);
background-position: $3;
background-repeat: $5;
height: 100%;
overflow: auto;
}
+#attribution-img {
+ content: -webkit-image-set(
+ url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION@1x?$1) 1x,
+ url(chrome://theme/IDR_THEME_NTP_ATTRIBUTION@2x?$1) 2x);
+}
+
html[bookmarkbarattached='true'] {
background-position: $4;
}
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/new_tab.js » ('j') | chrome/browser/themes/browser_theme_pack.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698