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

Unified Diff: chrome/renderer/resources/plugins/blocked_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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/renderer/resources/plugins/disabled_plugin.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/plugins/blocked_plugin.html
diff --git a/chrome/renderer/resources/plugins/blocked_plugin.html b/chrome/renderer/resources/plugins/blocked_plugin.html
index 94313a13c5cfb1dae6ec8a3426330bd5b603cf14..72dbb1a0ba83b174646d6ca67e517d684ce59c8c 100644
--- a/chrome/renderer/resources/plugins/blocked_plugin.html
+++ b/chrome/renderer/resources/plugins/blocked_plugin.html
@@ -1,53 +1,34 @@
<!doctype html>
<html>
-<head>
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, user-scalable=no">
-<if expr="not is_android">
-<script>
-function setMessage(msg) {
- document.getElementById('message').textContent = msg;
-}
-function notifyDidFinishLoading() {
- if (plugin.didFinishLoading)
- plugin.didFinishLoading();
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, user-scalable=no">
+ <if expr="not is_android">
+ <script>
+ function setMessage(msg) {
+ document.getElementById('message').textContent = msg;
+ }
+ function notifyDidFinishLoading() {
+ if (plugin.didFinishLoading)
+ plugin.didFinishLoading();
- if (plugin.didFinishIconRepositionForTesting)
- plugin.didFinishIconRepositionForTesting();
-}
-</script>
-</if>
-<if expr="is_android">
-<script>
-function notifyDidFinishLoading() {}
-</script>
-</if>
-<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="notifyDidFinishLoading();">
-<div i18n-values="title:name" id="outer">
- <div id="inner">
-<if expr="not is_android">
- <div><img id="plugin_icon" src="plugin_blocked.png"></div>
-</if>
-<if expr="is_android">
- <img id="plugin_icon" src="plugin_blocked_android.png">
-</if>
- <h1 id="message" i18n-content="message"></h1>
- </div>
- <div id="close" i18n-values="title:hide;data-plugin-type:pluginType"
- onclick="plugin.hide();">
- </div>
-</div>
-</body>
+ if (plugin.didFinishIconRepositionForTesting)
+ plugin.didFinishIconRepositionForTesting();
+ }
+ </script>
+ </if>
+ <if expr="is_android">
+ <script>
+ function notifyDidFinishLoading() {}
+ </script>
+ </if>
+ <link rel="stylesheet" href="plugin_placeholders.css"></link>
+ </head>
+ <body id="t" onload="notifyDidFinishLoading();">
+ <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>
+ </body>
</html>
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/renderer/resources/plugins/disabled_plugin.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698