Upstream version 10.39.225.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 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <script>
7 function debug(msg) {
8   document.getElementById('debug').textContent = msg;
9 }
10 function setMessage(msg) {
11   document.getElementById('message').textContent = msg;
12 }
13 function notifyDidFinishLoading() {
14   if (plugin.didFinishLoading)
15     plugin.didFinishLoading();
16 }
17 </script>
18 <link rel="stylesheet" href="plugin_placeholders.css"></link>
19 <style>
20 body {
21   background-color: rgb(187, 187, 187);
22 }
23
24 #plugin_icon {
25   opacity: .6;
26 }
27 </style>
28 </head>
29
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>