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

Side by Side Diff: chrome/renderer/resources/neterror.html

Issue 10695052: HiDPI chromium logo for NTP, about:version, about:neterror (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <title i18n-content="title"> 4 <title i18n-content="title">
5 </title> 5 </title>
6 <style> 6 <style>
7 body { 7 body {
8 background-color: white; 8 background-color: white;
9 font-family: Helvetica, Arial, sans-serif; 9 font-family: Helvetica, Arial, sans-serif;
10 margin: 0; 10 margin: 0;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 #errorDetails { 99 #errorDetails {
100 color: #777; 100 color: #777;
101 -webkit-margin-start: 3px; 101 -webkit-margin-start: 3px;
102 margin-top: 30px; 102 margin-top: 30px;
103 } 103 }
104 104
105 .failedUrl { 105 .failedUrl {
106 word-wrap: break-word; 106 word-wrap: break-word;
107 } 107 }
108
109 #logo-img {
110 /* TODO
111 "Not allowed to load local resource: chrome://theme/IDR_PRODUCT_LOGO"
112 "chrome://theme/IDR_PRODUCT_LOGO" */
113 content: -webkit-image-set(
114 url('../../app/theme/default_100_percent/%DISTRIBUTION%/product_logo.png') 1x,
115 url('../../app/theme/default_200_percent/%DISTRIBUTION%/product_logo.png') 2x);
116 }
117
108 </style> 118 </style>
109 </head> 119 </head>
110 120
111 <script> 121 <script>
112 /** 122 /**
113 * Sets the classes of elements to match their jscontent values. 123 * Sets the classes of elements to match their jscontent values.
114 * Elements without jscontent values are ignored. 124 * Elements without jscontent values are ignored.
115 * 125 *
116 * This allows styles to be applied to nested elements from 126 * This allows styles to be applied to nested elements from
117 * within GRD files. To work on these elements, this must be 127 * within GRD files. To work on these elements, this must be
(...skipping 17 matching lines...) Expand all
135 145
136 // The border only uses a gradient when using at least 24-bit color. 146 // The border only uses a gradient when using at least 24-bit color.
137 if (window.screen.colorDepth >= 24) 147 if (window.screen.colorDepth >= 24)
138 document.documentElement.setAttribute('high-color-depth', ''); 148 document.documentElement.setAttribute('high-color-depth', '');
139 </script> 149 </script>
140 150
141 <body id="t"> 151 <body id="t">
142 <div id="cell"> 152 <div id="cell">
143 <div id="box"> 153 <div id="box">
144 <h1> 154 <h1>
145 <img src="../../app/theme/%DISTRIBUTION%/product_logo.png" /> 155 <!-- Revert once XXX is done -->
flackr 2012/06/30 12:05:46 If we're not allowed to load chrome://theme/ resou
Nico 2012/06/30 16:55:25 I thought img src="relative path" would be made to
flackr 2012/06/30 17:02:46 Not outside of chrome/browser/resources, otherwise
Nico 2012/06/30 18:15:24 Ah, right. Will change.
156 <img id="logo-img">
146 <span i18n-content="heading"></span> 157 <span i18n-content="heading"></span>
147 </h1> 158 </h1>
148 159
149 <div id="errorSummary" jsselect="summary"> 160 <div id="errorSummary" jsselect="summary">
150 <span jsvalues=".innerHTML:msg"></span> 161 <span jsvalues=".innerHTML:msg"></span>
151 </div> 162 </div>
152 163
153 <div id="suggestions" jsdisplay="suggestionsHeading"> 164 <div id="suggestions" jsdisplay="suggestionsHeading">
154 <h2 i18n-content="suggestionsHeading"></h2> 165 <h2 i18n-content="suggestionsHeading"></h2>
155 <ul> 166 <ul>
(...skipping 29 matching lines...) Expand all
185 <span jsvalues=".innerHTML:msg"></span> 196 <span jsvalues=".innerHTML:msg"></span>
186 </li> 197 </li>
187 </ul> 198 </ul>
188 </div> 199 </div>
189 200
190 <div id="errorDetails" jsselect="details" jscontent="$this"></div> 201 <div id="errorDetails" jsselect="details" jscontent="$this"></div>
191 </div> 202 </div>
192 </div> 203 </div>
193 </body> 204 </body>
194 </html> 205 </html>
OLDNEW
« chrome/browser/resources/ntp4/new_tab.html ('K') | « chrome/browser/resources/ntp4/new_tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698