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

Side by Side Diff: chrome/renderer/resources/plugins/plugin_poster.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
« no previous file with comments | « chrome/renderer/resources/plugins/plugin_placeholders.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <script> 6 <script>
7 window.onload = function() { 7 window.onload = function() {
8 if (plugin.didFinishLoading) 8 if (plugin.didFinishLoading)
9 plugin.didFinishLoading(); 9 plugin.didFinishLoading();
10 }; 10 };
11 11
12 window.onkeydown = function(e) { 12 window.onkeydown = function(e) {
13 if (e.key == 'Enter' || e.key == ' ') { 13 if (e.key == 'Enter' || e.key == ' ') {
14 plugin.load(); 14 plugin.load();
15 e.preventDefault(); 15 e.preventDefault();
16 } 16 }
17 }; 17 };
18 </script> 18 </script>
19 <link rel="stylesheet" href="plugin_placeholders.css"></link> 19 <link rel="stylesheet" href="plugin_placeholders.css"></link>
20 <style> 20 <style>
21 #outer { 21 #outer {
22 border: none; 22 border: none;
23 flex-direction: row;
23 cursor: pointer; 24 cursor: pointer;
24 } 25 }
25 26
26 #shielding { 27 #shielding {
27 background-color: rgba(0, 0, 0, 0.5); 28 background-color: rgba(0, 0, 0, 0.5);
28 height: 100%; 29 height: 100%;
29 left: 0px; 30 left: 0px;
30 position: absolute; 31 position: absolute;
31 top: 0px; 32 top: 0px;
32 width: 100%; 33 width: 100%;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 if (plugin.didFinishIconRepositionForTesting) { 98 if (plugin.didFinishIconRepositionForTesting) {
98 // Defer until reflow complete. 99 // Defer until reflow complete.
99 window.setTimeout(function() { 100 window.setTimeout(function() {
100 plugin.didFinishIconRepositionForTesting(); 101 plugin.didFinishIconRepositionForTesting();
101 }); 102 });
102 } 103 }
103 }; 104 };
104 </script> 105 </script>
105 </body> 106 </body>
106 </html> 107 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/resources/plugins/plugin_placeholders.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698