Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / renderer / resources / blocked_plugin.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script>
6 function debug(msg) {
7   document.getElementById('debug').textContent = msg;
8 }
9 function setMessage(msg) {
10   document.getElementById('message').textContent = msg;
11 }
12 function notifyDidFinishLoading() {
13   if (plugin.didFinishLoading)
14     plugin.didFinishLoading();
15 }
16 </script>
17 <link rel="stylesheet" href="plugin_placeholders.css"></link>
18 <style>
19 body {
20   background-color: rgb(187, 187, 187);
21 }
22
23 #plugin_icon {
24   opacity: .6;
25 }
26 </style>
27 </head>
28
29 <body id="t" onload="notifyDidFinishLoading();">
30 <div i18n-values="title:name" id="outer">
31 <div id="inner">
32 <if expr="not is_android">
33   <div><img id="plugin_icon" src="plugin_blocked.png"></div>
34 </if>
35 <if expr="is_android">
36   <img id="plugin_icon" src="plugin_blocked_android.png">
37 </if>
38 <h1 id="message" i18n-content="message"></h1>
39 <p id="debug"> </p>
40 </div>
41 <div id="close" i18n-values="title:hide" onclick="plugin.hide();"></div>
42 </div>
43 </body>
44 </html>