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