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

Unified Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.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/renderer_host/chrome_render_view_host_observer.cc
===================================================================
--- chrome/browser/renderer_host/chrome_render_view_host_observer.cc (revision 138257)
+++ chrome/browser/renderer_host/chrome_render_view_host_observer.cc (working copy)
@@ -43,12 +43,6 @@
void ChromeRenderViewHostObserver::RenderViewHostInitialized() {
InitRenderViewForExtensions();
-
- if (render_view_host()->GetDelegate()->GetRenderViewType() ==
- content::VIEW_TYPE_INTERSTITIAL_PAGE) {
- render_view_host()->Send(new ChromeViewMsg_SetAsInterstitial(
- render_view_host()->GetRoutingID()));
- }
}
void ChromeRenderViewHostObserver::RenderViewHostDestroyed(

Powered by Google App Engine
This is Rietveld 408576698