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

Side by Side Diff: chrome/browser/resources/plugins.html

Issue 5699005: Policy: Re-enabled plugin still disabled (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make windows compiler even happier. Created 10 years 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html i18n-values="dir:textdirection;"> 2 <html i18n-values="dir:textdirection;">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="pluginsTitle"></title> 5 <title i18n-content="pluginsTitle"></title>
6 <style> 6 <style>
7 body { 7 body {
8 margin: 10px; 8 margin: 10px;
9 min-width: 47em; 9 min-width: 47em;
10 } 10 }
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 bodyContainer.style.visibility = 'visible'; 375 bodyContainer.style.visibility = 'visible';
376 body.className = tmiModeExpanded ? 376 body.className = tmiModeExpanded ?
377 'showTmiModeInitial' : 'hideTmiModeInitial'; 377 'showTmiModeInitial' : 'hideTmiModeInitial';
378 } 378 }
379 379
380 /** 380 /**
381 * Handles a 'enable' or 'disable' button getting clicked. 381 * Handles a 'enable' or 'disable' button getting clicked.
382 */ 382 */
383 function handleEnablePlugin(node, enable, isGroup) { 383 function handleEnablePlugin(node, enable, isGroup) {
384 // Tell the C++ PluginsDOMHandler to enable/disable the plugin. 384 // Tell the C++ PluginsDOMHandler to enable/disable the plugin.
385 chrome.send('enablePlugin', [String(node.path), String(enable), 385 chrome.send('enablePlugin', [String(node.path), String(node.name), String(enab le),
386 String(isGroup)]); 386 String(isGroup)]);
387 } 387 }
388 388
389 // Keeps track of whether details have been made visible (expanded) or not. 389 // Keeps track of whether details have been made visible (expanded) or not.
390 var tmiModeExpanded = false; 390 var tmiModeExpanded = false;
391 391
392 /* 392 /*
393 * Toggles visibility of details. 393 * Toggles visibility of details.
394 */ 394 */
395 function toggleTmiMode() { 395 function toggleTmiMode() {
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 </td> 620 </td>
621 </tr> 621 </tr>
622 </table> 622 </table>
623 </div> 623 </div>
624 </div> 624 </div>
625 </div> 625 </div>
626 </div> 626 </div>
627 </div> 627 </div>
628 </body> 628 </body>
629 </html> 629 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698