Merge lp://qastaging/~osomon/oxide/touch-selection-api into lp://qastaging/~oxide-developers/oxide/oxide.trunk
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 1309 | ||||
Proposed branch: | lp://qastaging/~osomon/oxide/touch-selection-api | ||||
Merge into: | lp://qastaging/~oxide-developers/oxide/oxide.trunk | ||||
Diff against target: |
2496 lines (+1435/-54) 37 files modified
qt/core/browser/oxide_qt_browser_platform_integration.cc (+8/-3) qt/core/browser/oxide_qt_browser_platform_integration.h (+1/-0) qt/core/browser/oxide_qt_touch_handle_drawable.cc (+105/-0) qt/core/browser/oxide_qt_touch_handle_drawable.h (+56/-0) qt/core/browser/oxide_qt_web_context_menu.cc (+1/-0) qt/core/browser/oxide_qt_web_view.cc (+58/-4) qt/core/browser/oxide_qt_web_view.h (+13/-7) qt/core/core.gyp (+4/-1) qt/core/glue/oxide_qt_touch_handle_drawable_proxy.h (+56/-0) qt/core/glue/oxide_qt_web_context_menu_proxy_client.h (+0/-11) qt/core/glue/oxide_qt_web_view_proxy.h (+18/-4) qt/core/glue/oxide_qt_web_view_proxy_client.h (+8/-1) qt/qmlplugin/oxide.qmltypes (+28/-0) qt/qmlplugin/oxide_qml_plugin.cc (+3/-0) qt/quick/CMakeLists.txt (+3/-1) qt/quick/api/oxideqquicktouchselectioncontroller.cc (+92/-0) qt/quick/api/oxideqquicktouchselectioncontroller_p.h (+74/-0) qt/quick/api/oxideqquickwebview.cc (+45/-1) qt/quick/api/oxideqquickwebview_p.h (+10/-0) qt/quick/api/oxideqquickwebview_p_p.h (+7/-1) qt/quick/oxide_qquick_touch_handle_drawable.cc (+286/-0) qt/quick/oxide_qquick_touch_handle_drawable.h (+70/-0) qt/quick/oxide_qquick_web_context_menu.cc (+1/-0) qt/tests/qmltests/api/tst_WebView_editingCapabilities.html (+6/-0) qt/tests/qmltests/api/tst_WebView_editingCapabilities.qml (+132/-0) shared/browser/oxide_browser_platform_integration.cc (+6/-0) shared/browser/oxide_browser_platform_integration.h (+2/-0) shared/browser/oxide_browser_platform_integration_observer.h (+3/-1) shared/browser/oxide_render_widget_host_view.cc (+153/-2) shared/browser/oxide_render_widget_host_view.h (+27/-1) shared/browser/oxide_render_widget_host_view_container.h (+12/-1) shared/browser/oxide_web_view.cc (+100/-4) shared/browser/oxide_web_view.h (+18/-5) shared/browser/oxide_web_view_client.cc (+10/-1) shared/browser/oxide_web_view_client.h (+16/-1) shared/renderer/oxide_content_renderer_client.cc (+1/-3) shared/shared.gyp (+2/-1) |
||||
To merge this branch: | bzr merge lp://qastaging/~osomon/oxide/touch-selection-api | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Coulson | Approve | ||
Olivier Tilloy (community) | Abstain | ||
Review via email:
|
Commit message
Add a touch selection API, to allow embedders to display handles for resizing the current selection, and contextual actions for it.
Description of the change
Initial proposal for a touch selection API.
Feedback on the proposed API and architecture welcome.
I shared a small example here for tests, along with screenshots of how this looks like on an MX4: http://
To post a comment you must log in.
This should now be ready for review.
Regarding this comment:
// XXX: if editable, can we determine whether undo/redo is available?
It doesn’t look like the content API exposes a way to get at the currently focused editor, nor a canUndo() method of some sort.