[Android] Added UMA for search by image context menu.
[chromium-blink-merge.git] / chrome / renderer / resources / disabled_plugin.html
blob3a49acbaf586a9ba26d68a2efbd6f5ef31c815c0
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function debug(msg) {
6 document.getElementById('debug').textContent = msg;
9 function insertLink() {
10 // Replace the chrome://plugins text with a working link (i18n_template
11 // doesn't allow raw HTML in template data).
12 var link = document.getElementById("enable_link");
13 var link_html = link.innerHTML;
14 link.parentNode.removeChild(link);
15 var message = document.getElementById("message");
16 var message_html = message.innerHTML;
17 message.innerHTML = message_html.replace('chrome://plugins', link_html);
19 </script>
20 <link rel="stylesheet" href="plugin_placeholders.css"></link>
21 <style>
22 body {
23 background-color: rgb(187, 187, 187);
26 #plugin_icon {
27 opacity: .6;
29 </style>
30 </head>
32 <body id="t" onLoad="insertLink()">
33 <div i18n-values="title:name" id="outer">
34 <div id="inner">
35 <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
36 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1>
37 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a></div>
38 <p id="debug"> </p>
39 </div>
40 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" />
41 </div>
42 </body>
43 </html>