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

Unified Diff: content/public/browser/interstitial_page.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
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/interstitial_page.h
diff --git a/content/public/browser/interstitial_page.h b/content/public/browser/interstitial_page.h
index 368458a13e58d8e89319adf2b564a8eb843b09db..71b8707e54dfa88395cecda7ce7c4cd794d65e06 100644
--- a/content/public/browser/interstitial_page.h
+++ b/content/public/browser/interstitial_page.h
@@ -16,7 +16,7 @@ class Size;
namespace content {
class InterstitialPageDelegate;
-class RenderViewHost;
+class RenderFrameHost;
class WebContents;
// This class is used for showing interstitial pages, pages that show some
@@ -79,7 +79,10 @@ class InterstitialPage {
// Sets the focus to the interstitial.
virtual void Focus() = 0;
- virtual RenderViewHost* GetRenderViewHostForTesting() const = 0;
+ // Gets the RenderFrameHost associated with
+ // the interstitial page's main frame.
+ virtual RenderFrameHost* GetMainFrame() const = 0;
+
virtual InterstitialPageDelegate* GetDelegateForTesting() = 0;
virtual void DontCreateViewForTesting() = 0;
};
« no previous file with comments | « content/browser/web_contents/web_contents_view_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698