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

Side by Side Diff: chrome/renderer/resources/blocked_plugin.html

Issue 5275007: Add the ability to remove blocked plugin containers from the page. For now,... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('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 <script> 4 <script>
5 function debug(msg) { 5 function debug(msg) {
6 document.getElementById('debug').textContent = msg; 6 document.getElementById('debug').textContent = msg;
7 } 7 }
8 </script> 8 </script>
9 <style> 9 <style>
10 body { 10 body {
11 background-color: rgb(187, 187, 187); 11 background-color: rgb(187, 187, 187);
12 margin: 0; 12 margin: 0;
13 text-align: center; 13 text-align: center;
14 font-family: sans-serif; 14 font-family: sans-serif;
15 overflow: hidden; 15 overflow: hidden;
16 } 16 }
17 17
18 h1 { 18 h1 {
19 padding: 0pt 10pt; 19 padding: 0pt 10pt;
20 font-size: 10pt; 20 font-size: 10pt;
21 font-weight: normal; 21 font-weight: normal;
22 visibility: hidden; 22 visibility: hidden;
23 } 23 }
24 24
25 #outer:hover h1 { 25 #outer:hover h1, #outer:hover img {
26 visibility: visible; 26 visibility: visible;
27 } 27 }
28 28
29 #plugin_icon { 29 #plugin_icon {
30 opacity: .6; 30 opacity: .6;
31 } 31 }
32 32
33 p { 33 p {
34 padding: 0pt 14pt; 34 padding: 0pt 14pt;
35 font-size: 8pt; 35 font-size: 8pt;
36 } 36 }
37 37
38 #outer { 38 #outer {
39 width: 100%; 39 width: 100%;
40 height: 100%; 40 height: 100%;
41 position: absolute; 41 position: absolute;
42 border: 1px black solid; 42 border: 1px black solid;
43 box-sizing: border-box; 43 box-sizing: border-box;
44 } 44 }
45 45
46 #inner { 46 #inner {
47 position: relative; 47 position: relative;
48 top: 50%; 48 top: 50%;
49 margin-top: -70px; 49 margin-top: -70px;
50 } 50 }
51
52 #close {
53 visibility: hidden;
54 cursor: pointer;
55 position: absolute;
56 right: 0px;
57 top: 0px;
58 }
51 </style> 59 </style>
52 </head> 60 </head>
53 61
54 <body id="t" onSelectStart="return false;"> 62 <body id="t" onSelectStart="return false;">
55 <div i18n-values="title:name" id="outer"> 63 <div i18n-values="title:name" id="outer">
56 <div id="inner"> 64 <div id="inner">
57 <div><img id="plugin_icon" src="plugin_blocked.png" /></div> 65 <div><img id="plugin_icon" src="plugin_blocked.png" /></div>
58 <h1 i18n-content="message">PLUGIN_BLOCKED</h1> 66 <h1 i18n-content="message">PLUGIN_BLOCKED</h1>
59 <p id="debug"> </p> 67 <p id="debug"> </p>
60 </div> 68 </div>
69 <img id="close" onclick="plugin.hide();" src="../../app/theme/close_bar_h.png">
61 </div> 70 </div>
62 </body> 71 </body>
63 </html> 72 </html>
OLDNEW
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698