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

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

Issue 9244011: Add IPC message to open chrome://plugins from a missing plug-in placeholder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/plugins/blocked_plugin.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 <script> 4 <script>
5 function debug(msg) { 5 function debug(msg) {
6 document.getElementById('debug').textContent = msg; 6 document.getElementById('debug').textContent = msg;
7 } 7 }
8 8
9 function insertLink() { 9 function insertLink() {
10 // Replace the chrome://plugins text with a working link (i18n_template 10 // Replace the chrome://plugins text with a working link (i18n_template
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 background-image: url("../../app/theme/close_bar_p.png"); 81 background-image: url("../../app/theme/close_bar_p.png");
82 } 82 }
83 </style> 83 </style>
84 </head> 84 </head>
85 85
86 <body id="t" onSelectStart="return false;" onLoad="insertLink()"> 86 <body id="t" onSelectStart="return false;" onLoad="insertLink()">
87 <div i18n-values="title:name" id="outer"> 87 <div i18n-values="title:name" id="outer">
88 <div id="inner"> 88 <div id="inner">
89 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> 89 <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
90 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1> 90 <h1 id="message" i18n-content="message">PLUGIN DISABLED (chrome://plugins)</h1>
91 <div id="enable_link"><a href="" onclick="plugin.openURL('chrome://plugins');">c hrome://plugins</a></div> 91 <div id="enable_link"><a href="#" onclick="plugin.openAboutPlugins();">chrome:// plugins</a></div>
92 <p id="debug"> </p> 92 <p id="debug"> </p>
93 </div> 93 </div>
94 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" /> 94 <div id="close" i18n-values="title:hide" onclick="plugin.hide();" />
95 </div> 95 </div>
96 </body> 96 </body>
97 </html> 97 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/blocked_plugin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698