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

Issue 2059533002: Change WebContentsDelegate::RunFileChooser to be frame based. (Closed)

Created:
4 years, 6 months ago by nasko
Modified:
4 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, creis+watch_chromium.org, tfarina, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, pfeldman, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change WebContentsDelegate::RunFileChooser to be frame based. The file chooser code needs to be updated to support out-of-process iframes. This CL is a required step in converting the public API to run the file chooser based on RenderFrameHost instead of WebContents. BUG=615575 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/35169afd1ede3dc971194e7cef278e7bb9c02a4d Cr-Commit-Position: refs/heads/master@{#399240}

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 4

Patch Set 3 : Fixes based on reviews. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -96 lines) Patch
M android_webview/native/aw_web_contents_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M android_webview/native/aw_web_contents_delegate.cc View 1 5 chunks +22 lines, -20 lines 0 comments Download
M apps/custom_launcher_page_contents.h View 1 chunk +1 line, -1 line 0 comments Download
M apps/custom_launcher_page_contents.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/android/tab_web_contents_delegate_android.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/tab_web_contents_delegate_android.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/devtools/devtools_window.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_window.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_view_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_view_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/file_select_helper.h View 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/file_select_helper.cc View 1 2 13 chunks +38 lines, -36 lines 0 comments Download
M chrome/browser/ui/apps/chrome_app_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/apps/chrome_app_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M components/guest_view/browser/guest_view_base.h View 1 chunk +1 line, -1 line 0 comments Download
M components/guest_view/browser/guest_view_base.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/render_frame_host.h View 3 chunks +9 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_delegate.h View 2 chunks +4 lines, -3 lines 0 comments Download
M extensions/browser/app_window/app_window.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/app_window/app_window.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_app_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/browser/shell_app_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (11 generated)
nasko
Hey Alex, Can you review this CL for me? It is one part of moving ...
4 years, 6 months ago (2016-06-09 23:02:11 UTC) #3
nasko
Avi, do you mind doing the honors of initial pass?
4 years, 6 months ago (2016-06-10 14:08:22 UTC) #5
Avi (use Gerrit)
lgtm This looks completely reasonable. I imagine there will be a second pass to move ...
4 years, 6 months ago (2016-06-10 14:45:14 UTC) #6
nasko
On 2016/06/10 14:45:14, Avi (OOO 12 June - 25 June) wrote: > lgtm > > ...
4 years, 6 months ago (2016-06-10 14:50:21 UTC) #7
nasko
https://codereview.chromium.org/2059533002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/2059533002/diff/20001/content/browser/frame_host/render_frame_host_impl.cc#newcode2626 content/browser/frame_host/render_frame_host_impl.cc:2626: render_view_host_->FilesSelectedInChooser(files, permissions); On 2016/06/10 14:45:14, Avi (OOO 12 June ...
4 years, 6 months ago (2016-06-10 14:50:33 UTC) #8
nasko
Please do OWNERS reviews: asargent@ -> extensions and apps sgurun@ -> android_webview dgozman@ -> devtools ...
4 years, 6 months ago (2016-06-10 14:56:40 UTC) #10
nasko
Actually adding dtrainor@ and thestig@.
4 years, 6 months ago (2016-06-10 15:02:04 UTC) #12
David Trainor- moved to gerrit
chrome/browser/android lgtm!
4 years, 6 months ago (2016-06-10 16:09:16 UTC) #15
asargent_no_longer_on_chrome
extensions and apps changes lgtm
4 years, 6 months ago (2016-06-10 17:00:22 UTC) #16
Lei Zhang
lgtm https://codereview.chromium.org/2059533002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2059533002/diff/20001/chrome/browser/file_select_helper.cc#newcode307 chrome/browser/file_select_helper.cc:307: ->GetFileSystemContext(); Is this clang-format's choosing? Maybe have a ...
4 years, 6 months ago (2016-06-10 17:02:41 UTC) #17
wjmaclean
On 2016/06/10 17:02:41, Lei Zhang (Slow) wrote: > lgtm > > https://codereview.chromium.org/2059533002/diff/20001/chrome/browser/file_select_helper.cc > File chrome/browser/file_select_helper.cc ...
4 years, 6 months ago (2016-06-10 17:04:25 UTC) #18
sgurun-gerrit only
On 2016/06/10 17:04:25, wjmaclean wrote: > On 2016/06/10 17:02:41, Lei Zhang (Slow) wrote: > > ...
4 years, 6 months ago (2016-06-10 17:16:25 UTC) #19
nasko
https://codereview.chromium.org/2059533002/diff/20001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://codereview.chromium.org/2059533002/diff/20001/chrome/browser/file_select_helper.cc#newcode307 chrome/browser/file_select_helper.cc:307: ->GetFileSystemContext(); On 2016/06/10 17:02:41, Lei Zhang (Slow) wrote: > ...
4 years, 6 months ago (2016-06-10 17:19:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2059533002/40001
4 years, 6 months ago (2016-06-10 17:19:35 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-10 18:47:32 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 18:47:39 UTC) #26
commit-bot: I haz the power
4 years, 6 months ago (2016-06-10 18:49:24 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/35169afd1ede3dc971194e7cef278e7bb9c02a4d
Cr-Commit-Position: refs/heads/master@{#399240}

Powered by Google App Engine
This is Rietveld 408576698