Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(853)

Side by Side Diff: chrome/renderer/resources/plugins/disabled_plugin.html

Issue 2626843006: Plugins: Remove left over references to chrome://plugins (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, user-scalable=no"> 5 <meta name="viewport" content="width=device-width, user-scalable=no">
6 <script>
7 function insertLink() {
8 // Replace the chrome://plugins text with a working link (i18n_template
9 // doesn't allow raw HTML in template data).
10 var link = document.getElementById("enable_link");
11 var link_html = link.innerHTML;
12 link.parentNode.removeChild(link);
13 var message = document.getElementById("message");
14 var message_html = message.innerHTML;
15 message.innerHTML = message_html.replace('chrome://plugins', link_html);
16 }
17 </script>
18 <link rel="stylesheet" href="plugin_placeholders.css"></link> 6 <link rel="stylesheet" href="plugin_placeholders.css"></link>
19 </head> 7 </head>
20 <body id="t" onLoad="insertLink()"> 8 <body id="t" onLoad="insertLink()">
21 <div i18n-values="title:name" id="outer"> 9 <div i18n-values="title:name" id="outer">
22 <img class="icon" 10 <img class="icon"
23 src="../../../../ui/webui/resources/images/extension.svg"> 11 src="../../../../ui/webui/resources/images/extension.svg">
24 <h1 id="message">$i18n{message}</h1> 12 <h1 id="message">$i18n{message}</h1>
25 <div id="enable_link">
26 <a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a>
27 </div>
28 </div> 13 </div>
29 </body> 14 </body>
30 </html> 15 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698