Created
July 24, 2013 21:59
-
-
Save darkfall/6074996 to your computer and use it in GitHub Desktop.
Some libCef3 and CefGlue notes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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