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

Unified Diff: chrome/browser/android/bottombar/overlay_panel_content.cc

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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/bottombar/overlay_panel_content.cc
diff --git a/chrome/browser/android/bottombar/overlay_panel_content.cc b/chrome/browser/android/bottombar/overlay_panel_content.cc
index 10f41df28fe9f8cf259cce54b8e5eb86b8e11dda..0f46cef33632e76069c1d347a698340811bd23a7 100644
--- a/chrome/browser/android/bottombar/overlay_panel_content.cc
+++ b/chrome/browser/android/bottombar/overlay_panel_content.cc
@@ -100,6 +100,8 @@ void OverlayPanelContent::SetWebContents(
// TODO(pedrosimonetti): Confirm with dtrainor@ if the comment above
// is accurate.
web_contents_.reset(web_contents);
+
+ web_contents_->SetIsOverlayContent(true);
// TODO(pedrosimonetti): confirm if we need this after promoting it
// to a real tab.
TabAndroid::AttachTabHelpers(web_contents_.get());
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698