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/browser/resources/downloads.html

Issue 7038046: Insert meta tag turning on content-security-protection for chrome://settings, history, downloads ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <!-- X-WebKit-CSP is our development name for Content-Security-Policy.
6 TODO(tsepez) rename when Content-security-policy is done. -->
7 <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome:// resources chrome://downloads">
5 <title i18n-content="title"></title> 8 <title i18n-content="title"></title>
6 <link rel="icon" href="../../app/theme/downloads_favicon.png"> 9 <link rel="icon" href="../../app/theme/downloads_favicon.png">
7 <style> 10 <style>
8 body { 11 body {
9 background-color: white; 12 background-color: white;
10 color: black; 13 color: black;
11 margin: 10px; 14 margin: 10px;
12 } 15 }
13 16
14 .header { 17 .header {
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 background-color: #ebeff9; 175 background-color: #ebeff9;
173 margin-right: 4px; 176 margin-right: 4px;
174 } 177 }
175 178
176 .footer { 179 .footer {
177 height: 24px; 180 height: 24px;
178 } 181 }
179 182
180 </style> 183 </style>
181 <script src="chrome://resources/js/local_strings.js"></script> 184 <script src="chrome://resources/js/local_strings.js"></script>
182 <script src="chrome://downloads/downloads.js"></script>
183 </head> 185 </head>
184 <body onload="load();" i18n-values=".style.fontFamily:fontfamily;.style.fontSize :fontsize"> 186 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
185 <div class="header"> 187 <div class="header">
186 <a href="" onclick="setSearch(''); return false;"> 188 <a id="search-link" href="">
187 <img src="shared/images/downloads_section.png" 189 <img src="shared/images/downloads_section.png"
188 width="67" height="67" class="logo" border="0" /></a> 190 width="67" height="67" class="logo" border="0" /></a>
189 <form method="post" action="" 191 <form id="search-form" method="post" action="" class="form">
190 onsubmit="setSearch(this.term.value); return false;"
191 class="form">
192 <input type="text" name="term" id="term" /> 192 <input type="text" name="term" id="term" />
193 <input type="submit" name="submit" i18n-values="value:searchbutton" /> 193 <input type="submit" name="submit" i18n-values="value:searchbutton" />
194 </form> 194 </form>
195 </div> 195 </div>
196 <div class="main"> 196 <div class="main">
197 <div id="downloads-summary"> 197 <div id="downloads-summary">
198 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span> 198 <span id="downloads-summary-text" i18n-content="downloads">Downloads</span>
199 <a id="clear-all" href="" onclick="clearAll();" i18n-content="clear_all">Cle ar All</a> 199 <a id="clear-all" href="" i18n-content="clear_all">Clear All</a>
200 </div> 200 </div>
201 <div id="downloads-display"></div> 201 <div id="downloads-display"></div>
202 </div> 202 </div>
203 <div class="footer"> 203 <div class="footer">
204 </div> 204 </div>
205 <script src="chrome://downloads/downloads.js"></script>
205 <script src="chrome://downloads/strings.js"></script> 206 <script src="chrome://downloads/strings.js"></script>
206 <script src="chrome://resources/js/i18n_template.js"></script> 207 <script src="chrome://resources/js/i18n_template.js"></script>
207 <script src="chrome://resources/js/i18n_process.js"></script> 208 <script src="chrome://resources/js/i18n_process.js"></script>
208 </body> 209 </body>
209 </html> 210 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/downloads.js » ('j') | chrome/browser/resources/downloads.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698