summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authordgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 10:45:30 +0000
committerdgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-08 10:45:30 +0000
commit17d98882cb289c998854d0bea0f87509e8fea858 (patch)
tree8fa11a1b29d261af53e5f0eebb4f8e8ef0147274 /chrome/browser
parente9005779e42a908cb54400018b94a2f158116321 (diff)
downloadchromium_src-17d98882cb289c998854d0bea0f87509e8fea858.zip
chromium_src-17d98882cb289c998854d0bea0f87509e8fea858.tar.gz
chromium_src-17d98882cb289c998854d0bea0f87509e8fea858.tar.bz2
Revert 113579 - Content settings: allow scripts on interstitial pages even if JavaScript is blocked.
BUG=104700 TEST=ChromeRenderViewTest.ContentSettingsInterstitialPages Review URL: http://codereview.chromium.org/8773035 TBR=marja@chromium.org Review URL: http://codereview.chromium.org/8889008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113591 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/tab_contents/chrome_interstitial_page.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/tab_contents/chrome_interstitial_page.cc b/chrome/browser/tab_contents/chrome_interstitial_page.cc
index 9c9940c..ce07ed9 100644
--- a/chrome/browser/tab_contents/chrome_interstitial_page.cc
+++ b/chrome/browser/tab_contents/chrome_interstitial_page.cc
@@ -8,8 +8,6 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/renderer_preferences_util.h"
#include "chrome/common/chrome_notification_types.h"
-#include "chrome/common/render_messages.h"
-#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
@@ -33,8 +31,6 @@ void ChromeInterstitialPage::Show() {
notification_registrar_.Add(
this, chrome::NOTIFICATION_DOM_OPERATION_RESPONSE,
content::Source<RenderViewHost>(render_view_host()));
- render_view_host()->Send(
- new ChromeViewMsg_SetAsInterstitial(render_view_host()->routing_id()));
}
void ChromeInterstitialPage::Observe(