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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/blocked_plugin.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/blocked_plugin.html
===================================================================
--- chrome/renderer/resources/blocked_plugin.html (revision 71492)
+++ chrome/renderer/resources/blocked_plugin.html (working copy)
@@ -22,7 +22,7 @@
visibility: hidden;
}
-#outer:hover h1 {
+#outer:hover h1, #outer:hover img {
visibility: visible;
}
@@ -48,6 +48,14 @@
top: 50%;
margin-top: -70px;
}
+
+#close {
+ visibility: hidden;
+ cursor: pointer;
+ position: absolute;
+ right: 0px;
+ top: 0px;
+}
</style>
</head>
@@ -58,6 +66,7 @@
<h1 i18n-content="message">PLUGIN_BLOCKED</h1>
<p id="debug"> </p>
</div>
+<img id="close" onclick="plugin.hide();" src="../../app/theme/close_bar_h.png">
</div>
</body>
</html>
« 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