Commit 8c3178b6 authored by Andras Becsi's avatar Andras Becsi Committed by Liang Qi
Browse files

Move QWebEngineCallback to core API and templatize CallbackDirectory


This undocumented helper template will also be utilized by the
core API since Chromium's content API heavily relies on callbacks.
To make the internal CallbackDirectory easily extendable with new
types, templatize its callback registration and dispatching functions
to be able to replace its type switches and the internal union.

Change-Id: I3f636fef48973ac95253f1c1bd396550286e571e
Reviewed-by: default avatarPierre Rossi <pierre.rossi@theqtcompany.com>
parent bfef77e3
Showing with 315 additions and 183 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment