| 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..d82a5cba1c18b42e6784da56fab668341a4ae11e 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,20 +16,20 @@
|
| }
|
|
|
| #plugin_icon {
|
| - opacity: 0.0;
|
| + opacity: 0.5;
|
| }
|
|
|
| #outer:hover #plugin_icon {
|
| - opacity: 0.4;
|
| + opacity: 1.0;
|
| }
|
| </style>
|
| </head>
|
|
|
| -<body i18n-values=".style.background-image:background">
|
| +<body i18n-values=".style.background-image:background" onload="notifyDidFinishLoading();">
|
| <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><img id="plugin_icon" src="plugin_power_saver.png" /></div>
|
| </div>
|
| </div>
|
| </body>
|
|
|