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

Unified Diff: chrome/renderer/resources/plugins/disabled_plugin.html

Issue 2155493002: Update missing/downloading/blocked/unsupported/disabled plugin UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Through #28 Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/resources/plugins/disabled_plugin.html
diff --git a/chrome/renderer/resources/plugins/disabled_plugin.html b/chrome/renderer/resources/plugins/disabled_plugin.html
index 4fc035dcd5834a95776f7312c30a90ea3310fdcb..649b211b731b94b179a1af40561742283e858437 100644
--- a/chrome/renderer/resources/plugins/disabled_plugin.html
+++ b/chrome/renderer/resources/plugins/disabled_plugin.html
@@ -1,44 +1,30 @@
<!doctype html>
<html>
-<head>
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, user-scalable=no">
-<script>
-function insertLink() {
- // Replace the chrome://plugins text with a working link (i18n_template
- // doesn't allow raw HTML in template data).
- var link = document.getElementById("enable_link");
- var link_html = link.innerHTML;
- link.parentNode.removeChild(link);
- var message = document.getElementById("message");
- var message_html = message.innerHTML;
- message.innerHTML = message_html.replace('chrome://plugins', link_html);
-}
-</script>
-<link rel="stylesheet" href="plugin_placeholders.css"></link>
-<style>
-body {
- background-color: rgb(187, 187, 187);
-}
-
-#plugin_icon {
- opacity: .6;
-}
-</style>
-</head>
-
-<body id="t" onLoad="insertLink()">
-<div i18n-values="title:name" id="outer">
- <div id="inner">
- <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
- <h1 id="message" i18n-content="message"></h1>
- <div id="enable_link">
- <a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no">
+ <script>
+ function insertLink() {
+ // Replace the chrome://plugins text with a working link (i18n_template
+ // doesn't allow raw HTML in template data).
+ var link = document.getElementById("enable_link");
+ var link_html = link.innerHTML;
+ link.parentNode.removeChild(link);
+ var message = document.getElementById("message");
+ var message_html = message.innerHTML;
+ message.innerHTML = message_html.replace('chrome://plugins', link_html);
+ }
+ </script>
+ <link rel="stylesheet" href="plugin_placeholders.css"></link>
+ </head>
+ <body id="t" onLoad="insertLink()">
+ <div i18n-values="title:name" id="outer">
+ <img class="icon"
+ src="../../../../ui/webui/resources/images/extension.svg">
+ <h1 id="message" i18n-content="message"></h1>
+ <div id="enable_link">
+ <a href="#" onclick="plugin.openAboutPlugins();">chrome://plugins</a>
+ </div>
</div>
- </div>
- <div id="close" i18n-values="title:hide;data-plugin-type:pluginType"
- onclick="plugin.hide();">
- </div>
-</div>
-</body>
+ </body>
</html>
« no previous file with comments | « chrome/renderer/resources/plugins/blocked_plugin.html ('k') | chrome/renderer/resources/plugins/plugin_blocked.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698