summaryrefslogtreecommitdiffstats
path: root/chrome/browser/security
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-13 22:23:42 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-13 22:23:42 +0000
commitfba16af6947aa34557889c62f5719d04ce9466db (patch)
treecb9d8bd7ed30fe69634ad4f43d7e571b646d9463 /chrome/browser/security
parent3d0cdf5307f3031f5e30696fe998b984b5cd24e8 (diff)
downloadchromium_src-fba16af6947aa34557889c62f5719d04ce9466db.zip
chromium_src-fba16af6947aa34557889c62f5719d04ce9466db.tar.gz
chromium_src-fba16af6947aa34557889c62f5719d04ce9466db.tar.bz2
I forgot to make the background images not dnd-able on the blocking pages.
TEST=Visit https://ebay.com. On the blocking page, try dragging things around. You should not be able to. BUG=3235 Review URL: http://codereview.chromium.org/7127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3322 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/security')
-rw-r--r--chrome/browser/security/resources/ssl_error.html4
-rw-r--r--chrome/browser/security/resources/ssl_roadblock.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/security/resources/ssl_error.html b/chrome/browser/security/resources/ssl_error.html
index 82a1a6b..0aefe9d 100644
--- a/chrome/browser/security/resources/ssl_error.html
+++ b/chrome/browser/security/resources/ssl_error.html
@@ -76,7 +76,7 @@ input {
div_to_hide.style.display = "none";
div_to_show.style.display = "block";
}
- function setDirectionSensitiveImages() {
+ function setDirectionSensitiveImages() {
if (document.getElementById("template_root").dir == 'rtl') {
document.getElementById("twisty_closed_rtl").style.display = "inline";
} else {
@@ -89,7 +89,7 @@ input {
<script>
document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages);
</script>
-<div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" /></div>
+<div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" onmousedown="return false;"/></div>
<table width="100%" cellspacing="0" cellpadding="0">
<td class="cell" valign="middle" align="center">
<div class="box">
diff --git a/chrome/browser/security/resources/ssl_roadblock.html b/chrome/browser/security/resources/ssl_roadblock.html
index 999fb4a..26d204b 100644
--- a/chrome/browser/security/resources/ssl_roadblock.html
+++ b/chrome/browser/security/resources/ssl_roadblock.html
@@ -85,7 +85,7 @@ input {
$("more_info_short").style.display = "none";
}
}
- function setDirectionSensitiveImages() {
+ function setDirectionSensitiveImages() {
if ($("template_root").dir == 'rtl') {
$("twisty_closed_rtl").style.display = "inline";
} else {
@@ -98,7 +98,7 @@ input {
<script>
document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages);
</script>
-<div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" /></div>
+<div class="background"><img src="ssl_roadblock_background.png" width="100%" height="100%" alt="background" onmousedown="return false;"/></div>
<table width="100%" cellspacing="0" cellpadding="0">
<td class="cell" valign="middle" align="center">
<div class="box">