Merge ~santoshbit2007/oxide:UITK_FilePicker_Impl into oxide:master
Proposed by
Santosh
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | ~santoshbit2007/oxide:UITK_FilePicker_Impl | ||||
Merge into: | oxide:master | ||||
Diff against target: |
2709 lines (+1412/-126) 38 files modified
dev/null (+0/-67) qt/core/BUILD.gn (+4/-4) qt/core/browser/file_picker_host.cc (+121/-0) qt/core/browser/file_picker_host.h (+61/-0) qt/core/browser/oxide_qt_web_view.cc (+41/-5) qt/core/browser/oxide_qt_web_view.h (+4/-2) qt/core/glue/auxiliary_ui_factory.h (+10/-0) qt/core/glue/file_picker.h (+52/-0) qt/core/glue/file_picker_client.h (+39/-0) qt/core/glue/oxide_qt_web_view_proxy_client.h (+0/-5) qt/quick/CMakeLists.txt (+1/-1) qt/quick/api/oxideqquickwebview.cc (+15/-13) qt/quick/api/oxideqquickwebview_p.h (+0/-5) qt/quick/qquick_legacy_auxiliary_ui_factory.cc (+19/-3) qt/quick/qquick_legacy_auxiliary_ui_factory.h (+10/-0) qt/quick/qquick_legacy_file_picker.cc (+182/-0) qt/quick/qquick_legacy_file_picker.h (+77/-0) qt/tests/qmltests/ubuntu_ui/tst_WebViewFilePicker.html (+11/-0) qt/tests/qmltests/ubuntu_ui/tst_WebViewFilePicker.qml (+58/-0) qt/uitk/lib/CMakeLists.txt (+1/-0) qt/uitk/lib/resources.qrc (+2/-0) qt/uitk/lib/resources/FilePickerContentHub.qml (+122/-0) qt/uitk/lib/resources/FilePickerDialog.qml (+63/-0) qt/uitk/lib/uitk_auxiliary_ui_factory.cc (+11/-0) qt/uitk/lib/uitk_auxiliary_ui_factory.h (+6/-0) qt/uitk/lib/uitk_file_picker.cc (+150/-0) qt/uitk/lib/uitk_file_picker.h (+80/-0) shared/BUILD.gn (+4/-2) shared/browser/file_picker.h (+37/-0) shared/browser/file_picker_client.h (+39/-0) shared/browser/file_picker_host.cc (+92/-0) shared/browser/file_picker_host.h (+69/-0) shared/browser/oxide_web_view.cc (+12/-8) shared/browser/oxide_web_view.h (+4/-2) shared/browser/oxide_web_view_client.cc (+1/-4) shared/browser/oxide_web_view_client.h (+0/-5) shared/browser/web_contents_client.cc (+7/-0) shared/browser/web_contents_client.h (+7/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Tilloy (community) | Needs Fixing | ||
Chris Coulson | Approve | ||
Review via email:
|
Description of the change
UITK filePicker Implementation which uses content-hub picker dialog.
I had issue with handing testcases for this, as no control over content-hub file selection view.
Suggestion is welcomed.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Thanks for working on this.
First of all, don't be afraid to refactor existing code. It would be nice to refactor the FilePicker layering in a similar way to recent changes I've made to the context menu / popup menu / JS dialogs implementations.
I've left a few comments inline.
In addition to those:
- I don't see where the fallback (legacy / non content-hub) file picker implementation gets loaded. yClient: :CreateFilePick er (and the corresponding implementation in qt/quick/api).
- Please remove qt::WebViewProx
I'm probably not the best person to review the content-hub picker implementation.