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

Side by Side Diff: chrome/browser/resources/history.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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/downloads.js ('k') | chrome/browser/resources/history.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 TODO(tsepez) remove unsafe-eval when bidichecker_packaged.js fixed.
8 -->
9 <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome:// resources 'self' 'unsafe-eval'">
5 <title i18n-content="title"></title> 10 <title i18n-content="title"></title>
6 <link rel="icon" href="../../app/theme/history_favicon.png"> 11 <link rel="icon" href="../../app/theme/history_favicon.png">
7 <script src="chrome://resources/js/local_strings.js"></script> 12 <script src="chrome://resources/js/local_strings.js"></script>
8 <script src="chrome://resources/js/util.js"></script> 13 <script src="chrome://resources/js/util.js"></script>
9 <script src="chrome://history/history.js"></script>
10 <link rel="stylesheet" href="webui.css"> 14 <link rel="stylesheet" href="webui.css">
11 <style> 15 <style>
12 #results-separator { 16 #results-separator {
13 margin-top:12px; 17 margin-top:12px;
14 border-top:1px solid #9cc2ef; 18 border-top:1px solid #9cc2ef;
15 background-color:#ebeff9; 19 background-color:#ebeff9;
16 font-weight:bold; 20 font-weight:bold;
17 padding:3px; 21 padding:3px;
18 margin-bottom:-8px; 22 margin-bottom:-8px;
19 } 23 }
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 116 }
113 html[dir='rtl'] .entry .title > a { 117 html[dir='rtl'] .entry .title > a {
114 background-position-x:right; 118 background-position-x:right;
115 padding-left:0px; 119 padding-left:0px;
116 padding-right:22px; 120 padding-right:22px;
117 } 121 }
118 #results-pagination { 122 #results-pagination {
119 padding-top:24px; 123 padding-top:24px;
120 -webkit-margin-start:18px; 124 -webkit-margin-start:18px;
121 } 125 }
122
123 </style> 126 </style>
124 </head> 127 </head>
125 <body onload="load();" i18n-values=".style.fontFamily:fontfamily;.style.fontSize :fontsize"> 128 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
126 <div class="header"> 129 <div class="header">
127 <a href="" onclick="setSearch(''); return false;"> 130 <a id="history-section" href="">
128 <img src="shared/images/history_section.png" 131 <img src="shared/images/history_section.png"
129 width="67" height="67" class="logo" border="0"></a> 132 width="67" height="67" class="logo" border="0"></a>
130 <form method="post" action="" 133 <form id="search-form" method="post" action=""
131 onsubmit="setSearch(this.term.value); return false;"
132 class="form"> 134 class="form">
133 <input type="text" name="term" id="term"> 135 <input type="text" name="term" id="term">
134 <input type="submit" name="submit" i18n-values="value:searchbutton"> 136 <input type="submit" name="submit" i18n-values="value:searchbutton">
135 </form> 137 </form>
136 </div> 138 </div>
137 <div class="main"> 139 <div class="main">
138 <div id="results-separator"> 140 <div id="results-separator">
139 <table border="0" cellPadding="0" cellSpacing="0"> 141 <table border="0" cellPadding="0" cellSpacing="0">
140 <tr><td id="results-summary"></td><td id="edit-button"><p></p></td></tr> 142 <tr><td id="results-summary"></td><td id="edit-button"><p></p></td></tr>
141 </table> 143 </table>
142 </div> 144 </div>
143 <div id="editing-controls"></div> 145 <div id="editing-controls"></div>
144 <div id="results-display"></div> 146 <div id="results-display"></div>
145 <div id="results-pagination"></div> 147 <div id="results-pagination"></div>
146 </div> 148 </div>
147 <div class="footer"> 149 <div class="footer">
148 </div> 150 </div>
151 <script src="chrome://history/history.js"></script>
149 <script src="chrome://history/strings.js"></script> 152 <script src="chrome://history/strings.js"></script>
150 <script src="chrome://resources/js/i18n_template.js"></script> 153 <script src="chrome://resources/js/i18n_template.js"></script>
151 <script src="chrome://resources/js/i18n_process.js"></script> 154 <script src="chrome://resources/js/i18n_process.js"></script>
152 </body> 155 </body>
153 </html> 156 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/downloads.js ('k') | chrome/browser/resources/history.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698