Plugin Power Saver: Implement 'poster' functionality.
[chromium-blink-merge.git] / chrome / renderer / resources / blocked_plugin.html
blobfa2e40f849149f71a4adcf919a351f235145ec86
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <script>
7 function debug(msg) {
8 document.getElementById('debug').textContent = msg;
10 function setMessage(msg) {
11 document.getElementById('message').textContent = msg;
13 function notifyDidFinishLoading() {
14 if (plugin.didFinishLoading)
15 plugin.didFinishLoading();
17 </script>
18 <link rel="stylesheet" href="plugin_placeholders.css"></link>
19 <style>
20 body {
21 background-color: rgb(187, 187, 187);
24 #plugin_icon {
25 opacity: .6;
27 </style>
28 </head>
30 <body id="t" onload="notifyDidFinishLoading();">
31 <div i18n-values="title:name" id="outer">
32 <div id="inner">
33 <if expr="not is_android">
34 <div><img id="plugin_icon" src="plugin_blocked.png"></div>
35 </if>
36 <if expr="is_android">
37 <img id="plugin_icon" src="plugin_blocked_android.png">
38 </if>
39 <h1 id="message" i18n-content="message"></h1>
40 <p id="debug"> </p>
41 </div>
42 <div id="close" i18n-values="title:hide" onclick="plugin.hide();"></div>
43 </div>
44 </body>
45 </html>