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

Unified Diff: chrome/browser/content_settings/tab_specific_content_settings.cc

Issue 10383292: Get rid of the need of ViewType::VIEW_TYPE_INTERSTITIAL_PAGE in content. There are no ViewType valu… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
Index: chrome/browser/content_settings/tab_specific_content_settings.cc
===================================================================
--- chrome/browser/content_settings/tab_specific_content_settings.cc (revision 138257)
+++ chrome/browser/content_settings/tab_specific_content_settings.cc (working copy)
@@ -434,6 +434,12 @@
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;

Powered by Google App Engine
This is Rietveld 408576698