Commit 7c2b72a7 authored by meacer's avatar meacer Committed by Commit bot

Remove unused resources from chrome/browser/resources/ssl

Also remove reader_out_of_date.html which doesn't seem to be used anymore.

BUG=677345
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2563743003
Cr-Commit-Position: refs/heads/master@{#440973}
parent ad43d1b9
......@@ -63,7 +63,6 @@
<structure name="IDR_CUSTOM_ELEMENTS_PIN_KEYBOARD_HTML" file="resources\chromeos\quick_unlock\pin_keyboard.html" flattenhtml="true" allowexternalscript="true" type="chrome_html" />
<structure name="IDR_CUSTOM_ELEMENTS_PIN_KEYBOARD_JS" file="resources\chromeos\quick_unlock\pin_keyboard.js" type="chrome_html" />
</if>
<structure name="IDR_READER_OUT_OF_DATE_HTML" file="resources\reader_out_of_date.html" flattenhtml="true" type="chrome_html" />
<structure name="IDR_SIGNIN_SHARED_CSS_HTML" file="resources\signin\signin_shared_css.html" preprocess="true" allowexternalscript="true" type="chrome_html" />
<if expr="not is_android and not is_ios and not chromeos">
<structure name="IDR_WELCOME_CSS" file="resources\welcome\welcome.css" type="chrome_html" preprocess="true"/>
......
<!doctype html>
<html i18n-values="lang:language">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
<style type="text/css">
body {
background-color: #500;
margin: 0;
}
.background {
height: 100%;
position: absolute;
width: 100%;
}
.cell {
padding: 40px;
}
.box {
background-color: white;
border-radius: 5px;
box-shadow: 3px 3px 8px #200;
color: black;
font-size: 10pt;
line-height: 16pt;
padding: 20px;
position: relative;
text-align: left;
width: 80%;
}
html[dir='rtl'] .box {
text-align: right;
}
.icon {
background-image: url(ssl/images/roadblock.png);
background-repeat: no-repeat;
height: 53px;
position: absolute;
width: 64px;
}
.title {
color: #660000;
font-size: 18pt;
font-weight: bold;
line-height: 140%;
margin-bottom: 6pt;
margin: 0 77px 0;
}
.main {
margin: 0 80px 0;
}
.submission {
margin: 15px 5px 15px 0;
padding: 0;
}
input {
margin: 0;
}
</style>
<script>
function sendCommand(cmd) {
window.domAutomationController.setAutomationId(1);
window.domAutomationController.send(cmd);
}
function getChecked() {
for (var i = 0; i < document.form.group.length; i++) {
if (document.form.group[i].checked)
return parseInt(document.form.group[i].value);
}
return 0;
}
</script>
</head>
<body oncontextmenu="return false;">
<div class="background"><img src="ssl/roadblock_background.png" width="100%"
height="100%" alt="background" onmousedown="return false;"></div>
<table width="100%" cellspacing="0" cellpadding="0">
<td class="cell" valign="middle" align="center">
<div class="box">
<div class="icon"></div>
<div class="title" i18n-content="headLine"></div>
<div class="main">
<form name="form" class="submission">
<input type="radio" name="group" value="1" checked>
<span i18n-content="update"></span>
<br>
<input type="radio" name="group" value="2">
<span i18n-content="open_with_reader"></span>
<br>
<br>
<input type="button" i18n-values="value:ok" name="ok"
class="proceedbutton" onclick="sendCommand(getChecked());">
<input type="button" i18n-values="value:cancel" name="cancel"
onclick="sendCommand(0);">
</form>
</div>
</td>
</table>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment