Repository navigation
refactor: reuse upstream //shell_dialogs - #30663
Merged
Merged
Conversation
codebytere
force-pushed
the
reuse-shell-dialogs
branch
2 times, most recently
from
August 23, 2021 13:00
1052ae1 to
38983eb
Compare
codebytere
force-pushed
the
reuse-shell-dialogs
branch
from
August 24, 2021 20:03
b9c6543 to
811e2e9
Compare
3 tasks done
VerteDinde
approved these changes
Sep 8, 2021
Member
There was a problem hiding this comment.
Just pulled down the branch and tested locally on Windows - this PR does fix an open issue with Windows and Linux file selection, #30858, that affects both 15-x-y and main.
Smoke tested general file selection, and it seems to be working well! 👍
codebytere
force-pushed
the
reuse-shell-dialogs
branch
3 times, most recently
from
September 8, 2021 21:39
b3d2b95 to
4a1b8d7
Compare
5 tasks done
codebytere
force-pushed
the
reuse-shell-dialogs
branch
from
September 13, 2021 14:43
4a1b8d7 to
07c419b
Compare
codebytere
force-pushed
the
reuse-shell-dialogs
branch
from
September 14, 2021 06:08
07c419b to
4330158
Compare
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "15-x-y" cleanly; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Closes #30858.
Longstanding follow-up to #25030 (review). This PR refactors our usage of
FileSelectHelperto remove dependence on our own file dialog APIs, which uncessarily pass V8 data structures around.WebDialogHelperin favor ofFileSelectHelperfile_dialogapis in favor of upstream//shell_dialogschrome/browser/file_select_helper.{h|cc|mm}logic with the following adaptations:FULL_SAFE_BROWSING,IS_CHROMEOS_ASH, andOS_ANDROID, as it is not necessary for Electron's purposeProfileforElectronBrowserContextChecklist
npm testpassesRelease Notes
Notes: none.