How to operate DOM in CEF.

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

How to operate DOM in CEF.

Postby xiexingqiao » Tue Jun 16, 2015 5:08 am

relevant header file and method include cef_dom.h and the VisitDOM in cef_frame.h
1.how to get the CefDOMDocument pointer of a frame?
2.how to operate the DOM tree in CEF for controlling real-time change of UI ?
3.how to build a channel between window and web so that I can implement data transmission ?
xiexingqiao
Newbie
 
Posts: 1
Joined: Tue Jun 16, 2015 4:18 am

Re: How to operate DOM in CEF.

Postby amaitland » Mon Jun 22, 2015 4:53 pm

You implement CefDOMVisitor which when executed will give you access to the CefDOMDocument
Execution will happen in an async fashion.

For IPC communication see
https://bitbucket.org/chromiumembedded/ ... cation-ipc
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 54 guests