Merge lp:~osomon/oxide/linkHovered into lp:~oxide-developers/oxide/oxide.trunk
Proposed by
Olivier Tilloy
Status: | Merged |
---|---|
Merged at revision: | 1281 |
Proposed branch: | lp:~osomon/oxide/linkHovered |
Merge into: | lp:~oxide-developers/oxide/oxide.trunk |
Diff against target: |
358 lines (+120/-3) 15 files modified
qt/core/browser/oxide_qt_web_view.cc (+8/-0) qt/core/browser/oxide_qt_web_view.h (+3/-0) qt/core/glue/oxide_qt_web_view_proxy.h (+2/-0) qt/core/glue/oxide_qt_web_view_proxy_client.h (+2/-1) qt/qmlplugin/oxide.qmltypes (+5/-2) qt/qmlplugin/oxide_qml_plugin.cc (+2/-0) qt/quick/api/oxideqquickwebview.cc (+16/-0) qt/quick/api/oxideqquickwebview_p.h (+5/-0) qt/quick/api/oxideqquickwebview_p_p.h (+1/-0) qt/tests/qmltests/api/tst_WebView_hoveredUrl.html (+7/-0) qt/tests/qmltests/api/tst_WebView_hoveredUrl.qml (+51/-0) shared/browser/oxide_web_view.cc (+9/-0) shared/browser/oxide_web_view.h (+5/-0) shared/browser/oxide_web_view_client.cc (+2/-0) shared/browser/oxide_web_view_client.h (+2/-0) |
To merge this branch: | bzr merge lp:~osomon/oxide/linkHovered |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Coulson | Approve | ||
Review via email: mp+277562@code.launchpad.net |
Commit message
Add a hoveredUrl property to the QML WebView API.
Description of the change
Add a hoveredUrl property to the QML WebView API.
This differs from QtWebEngine’s API which exposes only a linkHovered(
To post a comment you must log in.
This looks mostly ok. One thing I'd prefer is for the actual target URL to be stored in oxide::WebView. As the target URL can be updated with keyboard focus, it's possible that a newly created WebContents (created with window.open) might get an update for this before we create a webview. In this case, we'll miss it but in the future I plan to completely decouple the WebContentsDelegate implementation from WebView