| Index: chrome/browser/resources/downloads.html
|
| ===================================================================
|
| --- chrome/browser/resources/downloads.html (revision 86155)
|
| +++ chrome/browser/resources/downloads.html (working copy)
|
| @@ -2,6 +2,9 @@
|
| <html i18n-values="dir:textdirection;">
|
| <head>
|
| <meta charset="utf-8">
|
| +<!-- X-WebKit-CSP is our development name for Content-Security-Policy.
|
| + TODO(tsepez) rename when Content-security-policy is done. -->
|
| +<meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src chrome://resources chrome://downloads">
|
| <title i18n-content="title"></title>
|
| <link rel="icon" href="../../app/theme/downloads_favicon.png">
|
| <style>
|
| @@ -179,16 +182,13 @@
|
|
|
| </style>
|
| <script src="chrome://resources/js/local_strings.js"></script>
|
| -<script src="chrome://downloads/downloads.js"></script>
|
| </head>
|
| -<body onload="load();" i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
|
| +<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
|
| <div class="header">
|
| - <a href="" onclick="setSearch(''); return false;">
|
| + <a id="search-link" href="">
|
| <img src="shared/images/downloads_section.png"
|
| width="67" height="67" class="logo" border="0" /></a>
|
| - <form method="post" action=""
|
| - onsubmit="setSearch(this.term.value); return false;"
|
| - class="form">
|
| + <form id="search-form" method="post" action="" class="form">
|
| <input type="text" name="term" id="term" />
|
| <input type="submit" name="submit" i18n-values="value:searchbutton" />
|
| </form>
|
| @@ -196,12 +196,13 @@
|
| <div class="main">
|
| <div id="downloads-summary">
|
| <span id="downloads-summary-text" i18n-content="downloads">Downloads</span>
|
| - <a id="clear-all" href="" onclick="clearAll();" i18n-content="clear_all">Clear All</a>
|
| + <a id="clear-all" href="" i18n-content="clear_all">Clear All</a>
|
| </div>
|
| <div id="downloads-display"></div>
|
| </div>
|
| <div class="footer">
|
| </div>
|
| +<script src="chrome://downloads/downloads.js"></script>
|
| <script src="chrome://downloads/strings.js"></script>
|
| <script src="chrome://resources/js/i18n_template.js"></script>
|
| <script src="chrome://resources/js/i18n_process.js"></script>
|
|
|