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

Unified Diff: chrome/browser/ui/browser.cc

Issue 2059533002: Change WebContentsDelegate::RunFileChooser to be frame based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on reviews. Created 4 years, 6 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 | « chrome/browser/ui/browser.h ('k') | components/guest_view/browser/guest_view_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 68efa2d089490b8b118011097c787817965206ab..34a4b1d2d00d8e5b88fdbded6e19434e1b79eb41 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1683,9 +1683,9 @@ content::ColorChooser* Browser::OpenColorChooser(
return chrome::ShowColorChooser(web_contents, initial_color);
}
-void Browser::RunFileChooser(WebContents* web_contents,
+void Browser::RunFileChooser(content::RenderFrameHost* render_frame_host,
const content::FileChooserParams& params) {
- FileSelectHelper::RunFileChooser(web_contents, params);
+ FileSelectHelper::RunFileChooser(render_frame_host, params);
}
void Browser::EnumerateDirectory(WebContents* web_contents,
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | components/guest_view/browser/guest_view_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698