Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <meta name="viewport" content="width=device-width, user-scalable=no"> | 5 <meta name="viewport" content="width=device-width, user-scalable=no"> |
| 6 <if expr="not is_android"> | 6 <script> |
|
tommycli
2016/08/05 17:06:59
Hey, I think this is still used by NonLoadablePlug
waffles
2016/08/05 21:37:41
Done.
| |
| 7 <script> | 7 function setMessage(msg) { |
| 8 function setMessage(msg) { | 8 document.getElementById('message').textContent = msg; |
| 9 document.getElementById('message').textContent = msg; | 9 } |
| 10 } | 10 function notifyDidFinishLoading() { |
| 11 function notifyDidFinishLoading() { | 11 if (plugin.didFinishLoading) |
| 12 if (plugin.didFinishLoading) | 12 plugin.didFinishLoading(); |
| 13 plugin.didFinishLoading(); | |
| 14 | 13 |
| 15 if (plugin.didFinishIconRepositionForTesting) | 14 if (plugin.didFinishIconRepositionForTesting) |
| 16 plugin.didFinishIconRepositionForTesting(); | 15 plugin.didFinishIconRepositionForTesting(); |
| 17 } | 16 } |
| 18 </script> | 17 </script> |
| 19 </if> | 18 <link rel="stylesheet" href="plugin_placeholders.css"></link> |
| 20 <if expr="is_android"> | 19 <style> |
| 21 <script> | 20 body { |
|
tommycli
2016/08/05 17:06:59
I wonder if this body and icon style can be consol
waffles
2016/08/05 21:37:41
Done.
| |
| 22 function notifyDidFinishLoading() {} | 21 background-color: #f7f7f7; |
| 23 </script> | 22 color: #646464; |
| 24 </if> | 23 } |
| 25 <link rel="stylesheet" href="plugin_placeholders.css"></link> | |
| 26 <style> | |
| 27 body { | |
| 28 background-color: rgb(187, 187, 187); | |
| 29 } | |
| 30 | 24 |
| 31 #plugin_icon { | 25 .icon { |
| 32 opacity: .6; | 26 opacity: .3; |
| 33 } | 27 } |
| 34 </style> | 28 </style> |
| 35 </head> | 29 </head> |
| 36 | 30 |
| 37 <body id="t" onload="notifyDidFinishLoading();"> | 31 <body id="t" onload="notifyDidFinishLoading();"> |
| 38 <div i18n-values="title:name" id="outer"> | 32 <div i18n-values="title:name" id="outer"> |
| 39 <div id="inner"> | 33 <img class="icon" |
| 40 <if expr="not is_android"> | 34 src="../../../../ui/webui/resources/images/extension.svg"> |
| 41 <div><img id="plugin_icon" src="plugin_blocked.png"></div> | 35 <h1 id="message" i18n-content="message"></h1> |
| 42 </if> | 36 </div> |
| 43 <if expr="is_android"> | 37 </body> |
| 44 <img id="plugin_icon" src="plugin_blocked_android.png"> | |
| 45 </if> | |
| 46 <h1 id="message" i18n-content="message"></h1> | |
| 47 </div> | |
| 48 <div id="close" i18n-values="title:hide;data-plugin-type:pluginType" | |
| 49 onclick="plugin.hide();"> | |
| 50 </div> | |
| 51 </div> | |
| 52 </body> | |
| 53 </html> | 38 </html> |
| OLD | NEW |