| Index: chrome/browser/resources/safe_browsing_malware_block.html
|
| ===================================================================
|
| --- chrome/browser/resources/safe_browsing_malware_block.html (revision 70746)
|
| +++ chrome/browser/resources/safe_browsing_malware_block.html (working copy)
|
| @@ -46,6 +46,11 @@
|
| .main {
|
| margin:0px 90px 10px;
|
| }
|
| +.footer {
|
| + margin-top: 40px;
|
| + padding-top: 10px;
|
| + border-top: 1px solid #ddd;
|
| +}
|
| .submission {
|
| margin:15px 5px 15px 0px;
|
| padding:0px;
|
| @@ -53,8 +58,6 @@
|
| input {
|
| margin:0px;
|
| }
|
| -.proceedbutton {
|
| -}
|
| .helpbutton {
|
| float:right;
|
| }
|
| @@ -69,7 +72,6 @@
|
| margin-right:5px;
|
| }
|
|
|
| -
|
| .green {
|
| background: -webkit-linear-gradient(#83c260, #71b44c 44%, #549d2c);
|
| border: 1px solid #4c7336;
|
| @@ -107,6 +109,20 @@
|
| .green:focus {
|
| border: 1px solid #000;
|
| }
|
| +
|
| +label.checkbox {
|
| + position: relative;
|
| +}
|
| +
|
| +label.checkbox > input {
|
| + margin-top: 3px;
|
| + position: absolute;
|
| +}
|
| +
|
| +label.checkbox > span {
|
| + -webkit-margin-start: 20px;
|
| + display: block;
|
| +}
|
| </style>
|
|
|
| <script>
|
| @@ -114,6 +130,15 @@
|
| window.domAutomationController.setAutomationId(1);
|
| window.domAutomationController.send(cmd);
|
| }
|
| +
|
| + function savePreference() {
|
| + var checkBox = document.getElementById('checkreport');
|
| + if (checkBox.checked) {
|
| + sendCommand('doReport');
|
| + } else {
|
| + sendCommand('dontReport');
|
| + }
|
| + }
|
| </script>
|
|
|
| </head>
|
| @@ -137,6 +162,14 @@
|
|
|
| <div class="main" i18n-values=".innerHTML:description3"></div>
|
|
|
| + <div class="main footer" jsdisplay="displaycheckbox">
|
| + <label class="checkbox" for="checkreport">
|
| + <input name="checked" id="checkreport" type="checkbox"
|
| + jsvalues=".checked:boxchecked" onclick="savePreference()">
|
| + <span i18n-content="confirm_text"></span>
|
| + </label>
|
| + </div>
|
| +
|
| </div>
|
| </td>
|
| </table>
|
|
|