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

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: Through #28 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 <if expr="not is_android">
7 <script> 7 <script>
8 function setMessage(msg) { 8 function setMessage(msg) {
9 document.getElementById('message').textContent = msg; 9 document.getElementById('message').textContent = msg;
10 } 10 }
11 function notifyDidFinishLoading() { 11 function notifyDidFinishLoading() {
12 if (plugin.didFinishLoading) 12 if (plugin.didFinishLoading)
13 plugin.didFinishLoading(); 13 plugin.didFinishLoading();
14 14
15 if (plugin.didFinishIconRepositionForTesting) 15 if (plugin.didFinishIconRepositionForTesting)
16 plugin.didFinishIconRepositionForTesting(); 16 plugin.didFinishIconRepositionForTesting();
17 } 17 }
18 </script> 18 </script>
19 </if> 19 </if>
20 <if expr="is_android"> 20 <if expr="is_android">
21 <script> 21 <script>
22 function notifyDidFinishLoading() {} 22 function notifyDidFinishLoading() {}
23 </script> 23 </script>
24 </if> 24 </if>
25 <link rel="stylesheet" href="plugin_placeholders.css"></link> 25 <link rel="stylesheet" href="plugin_placeholders.css"></link>
26 <style> 26 </head>
27 body { 27 <body id="t" onload="notifyDidFinishLoading();">
28 background-color: rgb(187, 187, 187); 28 <div i18n-values="title:name" id="outer">
29 } 29 <img class="icon"
30 30 src="../../../../ui/webui/resources/images/extension.svg">
31 #plugin_icon { 31 <h1 id="message" i18n-content="message"></h1>
32 opacity: .6; 32 </div>
33 } 33 </body>
34 </style>
35 </head>
36
37 <body id="t" onload="notifyDidFinishLoading();">
38 <div i18n-values="title:name" id="outer">
39 <div id="inner">
40 <if expr="not is_android">
41 <div><img id="plugin_icon" src="plugin_blocked.png"></div>
42 </if>
43 <if expr="is_android">
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> 34 </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