sailfishos / sailfish-components-webview

Mozilla Public License 2.0
13 stars 23 forks source link

[webview-docs] Add docs for doNotTrack and colorScheme. JB#58394 #161

Closed llewelld closed 2 years ago

llewelld commented 2 years ago

Sends an "ambience-theme-changed" notification with either "dark" or "light" data when the ambience changes, to be picked up by gecko.

Adds C++ and QML documentation to cover the WebEngineSettings::doNotTrack and WebEngineSettings::colorScheme properties.

Also amends the property brief text for other properties, to make them work better on the C++ page, where the brief text is automatically prefixed with the text "This property holds ".

llewelld commented 2 years ago

Part of a quiver of four PRs:

  1. https://github.com/sailfishos/gecko-dev/pull/149
  2. https://github.com/sailfishos/qtmozembed/pull/47
  3. https://github.com/sailfishos/sailfish-browser/pull/1007
  4. https://github.com/sailfishos/sailfish-components-webview/pull/161