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

Unified Diff: content/public/browser/interstitial_page.h

Issue 11366118: Add support for interstitial pages on android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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/public/browser/interstitial_page.h
diff --git a/content/public/browser/interstitial_page.h b/content/public/browser/interstitial_page.h
index 368458a13e58d8e89319adf2b564a8eb843b09db..f6b2b30f1e7a37390b14acddabe2d2a09d681c53 100644
--- a/content/public/browser/interstitial_page.h
+++ b/content/public/browser/interstitial_page.h
@@ -82,6 +82,12 @@ class InterstitialPage {
virtual RenderViewHost* GetRenderViewHostForTesting() const = 0;
virtual InterstitialPageDelegate* GetDelegateForTesting() = 0;
virtual void DontCreateViewForTesting() = 0;
+
+#if defined(OS_ANDROID)
+ // Android shares a single view for all tabs, so we need to expose the
+ // RenderViewHost to properly route gestures to the interstitial.
+ virtual RenderViewHost* GetRenderViewHost() const = 0;
jam 2012/11/07 01:19:28 since this is only called from inside content, can
Ted C 2012/11/07 01:34:31 Done.
+#endif
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698