summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebengineextensionmanager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* QWebEngineExtensionManager: override QObject::event()Marc Mutz2025-09-081-0/+8
| | | | | | | | | | | | | | | | | | | A released class can, in general, not add new reimplementations of virtual functions, because code compiled against the old version will continue to directly call the old furthest-derived reimplementation (in the case at hand, that would be QObject::event()). This is called de-virtualization, and every compiler does it when overrides call the base class' implementation. As required by BC rules, add an event() reimplementation. This way, if in the next version we need to e.g. reimplement timerEvent(), we can do it instead in event(). Found in API-review. Pick-to: 6.10 6.10.0 Change-Id: I43386e3cb52a1eb6d80475446f013e4dad283227 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* CRA mark src/core/apiMoss Heim2025-08-121-0/+1
| | | | | | | | QUIP: 23 Fixes: QTBUG-138720 Pick-to: 6.10 6.9 6.8 Change-Id: I9c064bef911e36c12553fc6cebb7408fb02bcc0b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineExtensionManager: make installPath() and extensions() constMartin Negyokru2025-07-301-2/+2
| | | | | | | | Found in API-review. Pick-to: 6.10 Change-Id: Iac02f5a840a0a76c7fdb084f0c4d11e1f7d789d9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineExtensionManager: make signal names simplerMartin Negyokru2025-07-301-4/+4
| | | | | | | | | | Update tests accordingly. Found in API-review. Pick-to: 6.10 Change-Id: Ife361cf95db6953413fe34392caf6fce3296c42a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebEngineExtensionManager: rename installDir to installPathMartin Negyokru2025-07-301-6/+6
| | | | | | | | | | | Rename installDirectory() to be consistent with QWebEngineProfile. Update tests accordingly. Found in API-review. Pick-to: 6.10 Change-Id: I8e9c9760950c0bf65a75292a22a1abc1f7deba91 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add API for extension managementMartin Negyokru2025-05-291-0/+166
Introduce QWebEngineExtensionManager and QWebEngineExtensionInfo. The manager has methods to load and install Chrome extensions from the filesystem. QWebEngineExtensionInfo provides information about a loaded extension. The current state of our js extension API support is very limited meaning most of the extensions downloaded from Chrome extension store won't work. Adding support for these APIs will be done in followup patches. Fixes: QTBUG-118452 Task-number: QTBUG-61676 Change-Id: I017ad5e8d2ba963afbd2f31ac36fee9451a951bd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>