Index: chrome/renderer/resources/plugin_poster.html |
diff --git a/chrome/renderer/resources/plugin_poster.html b/chrome/renderer/resources/plugin_poster.html |
index b372878bf0f6d3f76e2517b5ae2b82aa25b1515e..790f4d98e51748b7aa895ccc8c6278322af53426 100644 |
--- a/chrome/renderer/resources/plugin_poster.html |
+++ b/chrome/renderer/resources/plugin_poster.html |
@@ -3,6 +3,12 @@ |
<head> |
<meta charset="utf-8"> |
<meta name="viewport" content="width=device-width, user-scalable=no"> |
+<script> |
+function notifyDidFinishLoading() { |
+ if (plugin.didFinishLoading) |
+ plugin.didFinishLoading(); |
+} |
+</script> |
<link rel="stylesheet" href="plugin_placeholders.css"></link> |
<style> |
#outer { |
@@ -10,21 +16,25 @@ |
} |
#plugin_icon { |
- opacity: 0.0; |
+ opacity: 0.2; |
} |
#outer:hover #plugin_icon { |
- opacity: 0.4; |
+ opacity: 1.0; |
+} |
+ |
+#inner { |
+ margin-top: -23px; |
} |
</style> |
</head> |
-<body i18n-values=".style.background-image:background"> |
-<div i18n-values="title:name" id="outer" onclick="plugin.load()"> |
-<p id="debug"> </p> |
-<div id="inner"> |
-<div><img id="plugin_icon" src="plugin_blocked.png" /></div> |
-</div> |
-</div> |
+<body i18n-values=".style.background-image:background" onload="notifyDidFinishLoading();"> |
+ <div i18n-values="title:name" id="outer" onclick="plugin.load()"> |
+ <div id="inner"> |
+ <div><img id="plugin_icon" src="play.png" /></div> |
+ <p id="debug"> </p> |
+ </div> |
+ </div> |
</body> |
</html> |