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

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

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 2 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 697ea3aee21d2fd89ce3a7252ce7c73c34c5797a..c7a6c628075acf474f4c914c29719c0c7bf214af 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -719,6 +719,9 @@ class WebContents : public PageNavigator,
// can adjust the UI if desired.
virtual void OnCreditCardInputShownOnHttp() = 0;
+ // Sets whether the WebContents is for overlaying content on a page.
+ virtual void SetIsOverlayContent(bool is_overlay_content) = 0;
+
#if defined(OS_ANDROID)
CONTENT_EXPORT static WebContents* FromJavaWebContents(
const base::android::JavaRef<jobject>& jweb_contents_android);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698