| 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>
|
|
|