Reland "Non-SFI mode: Switch to newlib. (patchset #4 id:60001 of https://codereview...
[chromium-blink-merge.git] / chrome / renderer / resources / blocked_plugin.html
blob0d4dc4aa6eeec279c7312241bdf66ad19cfe6171
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <if expr="not is_android">
7 <script>
8 function setMessage(msg) {
9 document.getElementById('message').textContent = msg;
11 function notifyDidFinishLoading() {
12 if (plugin.didFinishLoading)
13 plugin.didFinishLoading();
15 </script>
16 </if>
17 <if expr="is_android">
18 <script>
19 function notifyDidFinishLoading() {}
20 </script>
21 </if>
22 <link rel="stylesheet" href="plugin_placeholders.css"></link>
23 <style>
24 body {
25 background-color: rgb(187, 187, 187);
28 #plugin_icon {
29 opacity: .6;
31 </style>
32 </head>
34 <body id="t" onload="notifyDidFinishLoading();">
35 <div i18n-values="title:name" id="outer">
36 <div id="inner">
37 <if expr="not is_android">
38 <div><img id="plugin_icon" src="plugin_blocked.png"></div>
39 </if>
40 <if expr="is_android">
41 <img id="plugin_icon" src="plugin_blocked_android.png">
42 </if>
43 <h1 id="message" i18n-content="message"></h1>
44 </div>
45 <div id="close" i18n-values="title:hide" onclick="plugin.hide();"></div>
46 </div>
47 </body>
48 </html>