Some libCef3 and CefGlue notes
CefClient -> Handlers | |
RequestHandler: can be used as QNetworkAccessManager | |
-> OnBeforeResourceLoad(.., .., request) | |
-> request.GetHeaderMap() | |
-> request.Url | |
ContextMenuHandler: handle context menu here | |
-> OnBeforeContextMenu(.., .., .., model) | |
-> model.AddItem(id, caption) | |
-> ... | |
-> OnContextMenuCommand(.., .., state, id, flags) | |
User defined menu command id should between MENU_ID_USER_FIRST(26500) and MENU_ID_USER_LAST(28500) (libcef3/cef_types.h, line 943 - 947) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment