| Index: chrome/browser/resources/safe_browsing_malware_block.html
|
| ===================================================================
|
| --- chrome/browser/resources/safe_browsing_malware_block.html (revision 66339)
|
| +++ chrome/browser/resources/safe_browsing_malware_block.html (working copy)
|
| @@ -201,8 +201,17 @@
|
| moreButton.style.display = 'inline'
|
| lessButton.style.display = 'none'
|
| }
|
| + }
|
|
|
| + function savepreference() {
|
| + var checkBox = document.getElementById('checkreport')
|
| + if (checkBox.checked) {
|
| + sendCommand('doReport')
|
| + } else {
|
| + sendCommand('dontReport')
|
| + }
|
| }
|
| +
|
| </script>
|
| </head>
|
| <body oncontextmenu="return false;">
|
| @@ -227,6 +236,13 @@
|
|
|
| <div class="main" i18n-values=".innerHTML:description3" style="margin-top:10px"></div>
|
|
|
| + <div class="main" jsdisplay="displaycheckbox">
|
| + <hr>
|
| + <form class="submission">
|
| + <input name="checked" id="checkreport" type="checkbox" jsvalues=".checked:boxchecked" onclick="savepreference()"> <label for="checkreport" i18n-content="confirm_text"></label>
|
| + </form>
|
| + </div>
|
| +
|
| </div>
|
| </td>
|
| </table>
|
|
|