Details
Description
From API review discussion (see also https://codereview.qt-project.org/#/c/170500/2/src/webengine/api/qquickwebengineview_p.h):
- Shouldn't WebEngineView::viewSource() rather be a WebAction? That's at least how most (all?) context menu actions are implemented.
- If we make it a WebAction, shall we rather have a generic 'webActionEnabled' function, instead of WebEngineView::canViewSource()?