summaryrefslogtreecommitdiffstats
path: root/chrome/browser/content_settings/tab_specific_content_settings.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-22 21:51:44 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-22 21:51:44 +0000
commitba45bfdb246a69983bf994bc9e42852515dceb01 (patch)
tree6fc1df480db125f96e6db4d03b4b12a7264816ee /chrome/browser/content_settings/tab_specific_content_settings.cc
parentba5771c7724d0e6b47c8af6e51f4a6c969ff76de (diff)
downloadchromium_src-ba45bfdb246a69983bf994bc9e42852515dceb01.zip
chromium_src-ba45bfdb246a69983bf994bc9e42852515dceb01.tar.gz
chromium_src-ba45bfdb246a69983bf994bc9e42852515dceb01.tar.bz2
Get rid of the need of ViewType::VIEW_TYPE_INTERSTITIAL_PAGE in content. There are no ViewType values left in content, so in the next change I'll move this whole concept out of content and into chrome. That allows us to get rid of RenderViewHostDelegate::GetRenderViewType which is the last remaining need for RVHD in chrome.
BUG=98716 Review URL: https://chromiumcodereview.appspot.com/10383292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/content_settings/tab_specific_content_settings.cc')
-rw-r--r--chrome/browser/content_settings/tab_specific_content_settings.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/content_settings/tab_specific_content_settings.cc b/chrome/browser/content_settings/tab_specific_content_settings.cc
index 8facfca..b37370c 100644
--- a/chrome/browser/content_settings/tab_specific_content_settings.cc
+++ b/chrome/browser/content_settings/tab_specific_content_settings.cc
@@ -433,6 +433,12 @@ void TabSpecificContentSettings::ClearGeolocationContentSettings() {
geolocation_settings_state_.ClearStateMap();
}
+void TabSpecificContentSettings::RenderViewForInterstitialPageCreated(
+ RenderViewHost* render_view_host) {
+ render_view_host->Send(new ChromeViewMsg_SetAsInterstitial(
+ render_view_host->GetRoutingID()));
+}
+
bool TabSpecificContentSettings::OnMessageReceived(
const IPC::Message& message) {
bool handled = true;