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

Unified Diff: content/browser/frame_host/interstitial_page_impl.h

Issue 789703004: Reflect the status of a request for accessing a blacklisted url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: content/browser/frame_host/interstitial_page_impl.h
diff --git a/content/browser/frame_host/interstitial_page_impl.h b/content/browser/frame_host/interstitial_page_impl.h
index 9f6ce8445aa9da6df419ededa66e341a26b00e9c..9a99b477a6b230204386e4e21e0a9072fc144462 100644
--- a/content/browser/frame_host/interstitial_page_impl.h
+++ b/content/browser/frame_host/interstitial_page_impl.h
@@ -61,7 +61,7 @@ class CONTENT_EXPORT InterstitialPageImpl
void Hide() override;
void DontProceed() override;
void Proceed() override;
- RenderViewHost* GetRenderViewHostForTesting() const override;
+ RenderFrameHost* GetMainFrame() const override;
InterstitialPageDelegate* GetDelegateForTesting() override;
void DontCreateViewForTesting() override;
void SetSize(const gfx::Size& size) override;
@@ -84,12 +84,6 @@ class CONTENT_EXPORT InterstitialPageImpl
}
bool reload_on_dont_proceed() const { return reload_on_dont_proceed_; }
-#if defined(OS_ANDROID)
- // Android shares a single platform window for all tabs, so we need to expose
- // the RenderViewHost to properly route gestures to the interstitial.
- RenderViewHost* GetRenderViewHost() const;
-#endif
-
// TODO(nasko): This should move to InterstitialPageNavigatorImpl, but in
// the meantime make it public, so it can be called directly.
void DidNavigate(
« no previous file with comments | « content/browser/android/content_view_core_impl.cc ('k') | content/browser/frame_host/interstitial_page_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698