blob: f4479f17df27ba6ba698dcf846317cd2181d0b97 [file] [log] [blame]
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no">
<script>
function setMessage(msg) {
document.getElementById('message').textContent = msg;
}
function notifyDidFinishLoading() {
if (plugin.didFinishLoading)
plugin.didFinishLoading();
if (plugin.notifyPlaceholderReadyForTesting)
plugin.notifyPlaceholderReadyForTesting();
}
</script>
<link rel="stylesheet" href="plugin_placeholders.css"></link>
<style>
#outer {
cursor: pointer;
}
</style>
</head>
<body id="t" onload="notifyDidFinishLoading();">
<div i18n-values="title:name" id="outer">
<img class="icon"
src="../../../../ui/webui/resources/images/extension.svg">
<h1 id="message">$i18n{message}</h1>
</div>
<script>
window.onkeydown = function(e) {
if (e.key == 'Enter' || e.key == ' ') {
plugin.showPermissionBubble();
e.preventDefault();
}
};
document.getElementById('outer').onclick = function() {
plugin.showPermissionBubble();
};
</script>
</body>
</html>