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

Side by Side 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: First review 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 unified diff | Download patch
OLDNEW
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>
OLDNEW
« 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