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

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: Tested on Android/Desktop Created 6 years 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..280dd83727ef6a4901e891234bdd6c64c898992e 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;
+ RenderViewHost* GetRenderViewHost() 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(

Powered by Google App Engine
This is Rietveld 408576698