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

Unified Diff: chrome/renderer/resources/blocked_plugin.html

Issue 5857007: Unify strings for click-to-play, blocked plugins and outdated plugins. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer/resources
Patch Set: change crosshair to pointer Created 10 years 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/renderer_resources.grd ('k') | chrome/renderer/resources/click_to_play_plugin.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/blocked_plugin.html
diff --git a/chrome/renderer/resources/blocked_plugin.html b/chrome/renderer/resources/blocked_plugin.html
index 29b05402eb1466b7de46fff876aa758f2ec33790..05531635bb28b357850b9e703b0ff3cea6e74488 100644
--- a/chrome/renderer/resources/blocked_plugin.html
+++ b/chrome/renderer/resources/blocked_plugin.html
@@ -8,21 +8,13 @@ function debug(msg) {
</script>
<style>
body {
- background-color: rgb(128, 128, 128);
+ background-color: rgb(187, 187, 187);
margin: 0;
text-align: center;
font-family: sans-serif;
overflow: hidden;
}
-body #outer:hover {
- background: -webkit-gradient(linear, left top, left bottom, from(#d2d2d2), to(#a5a5a5));
-}
-
-body #outer:active {
- background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#d2d2d2));
-}
-
h1 {
padding: 0pt 10pt;
font-size: 10pt;
@@ -35,11 +27,7 @@ h1 {
}
#plugin_icon {
- opacity: .4;
-}
-
-#outer:hover #plugin_icon {
- opacity: 1.0;
+ opacity: .6;
}
p {
@@ -50,19 +38,11 @@ p {
#outer {
width: 100%;
height: 100%;
- cursor: crosshair;
position: absolute;
border: 1px black solid;
box-sizing: border-box;
}
-/*
-FIXME: This causes flickering on hover.
-#outer:hover {
- -webkit-box-shadow: rgb(229,229,229) 1px 1px inset;
-}
-*/
-
#inner {
position: relative;
top: 50%;
@@ -72,11 +52,10 @@ FIXME: This causes flickering on hover.
</head>
<body id="t" onSelectStart="return false;">
-<div i18n-values="title:name" id="outer" onclick="plugin.load()">
+<div i18n-values="title:name" id="outer">
<div id="inner">
<div><img id="plugin_icon" src="plugin_blocked.png" /></div>
-<h1 i18n-content="message">PLUGIN_LOAD</h1>
-<h1 i18n-content="name">PLUGIN_NAME</h1>
+<h1 i18n-content="message">PLUGIN_BLOCKED</h1>
<p id="debug"> </p>
</div>
</div>
« no previous file with comments | « chrome/renderer/renderer_resources.grd ('k') | chrome/renderer/resources/click_to_play_plugin.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698