Page 1 of 1

"CEF based on chromium" clarification

PostPosted: Tue Jan 26, 2021 10:20 am
by objectOlolo
Hi, can't find any details regarding how cef using Chromium engine.
Looks like some functionality are missed like some chrome js domain pages, some flags and even functionality like visibility API...
So
Could please anyone explain how some functionality may be missed in CEF, since it works fine in chromium - I guess that question is more about architecture, looks like CEF use part of chromium and some functionality replaced, why?.
Is there are any documentation channel or other source where I can find differences between CEF and Chromium, like downgraded functioanlity.

Re: "CEF based on chromium" clarification

PostPosted: Tue Jan 26, 2021 11:40 am
by magreenblatt

Re: "CEF based on chromium" clarification

PostPosted: Tue Jan 26, 2021 2:35 pm
by objectOlolo
Well there is no answer fo any of my questions...

Re: "CEF based on chromium" clarification

PostPosted: Tue Jan 26, 2021 2:49 pm
by magreenblatt
As mentioned in that document, CEF uses the Content module which is different from Chrome.

Re: "CEF based on chromium" clarification

PostPosted: Wed Apr 07, 2021 7:41 am
by SteveM
Hi, sorry to warm this post up again.

@magreenblatt you mentioned in Issue #2969 (https://bitbucket.org/chromiumembedded/ ... -callbacks) that DataList/AutoFill might be available with the switch to the Chrome runtime. Is this already possible in the current experimental release? I did a quick test and could not get it to work (Note: I've used CEFSharp v90.1.0 with the command line argument "--enable-chrome-runtime" as this version already comes with the changes to chrome*.pak).

Thanks for your great work.

Re: "CEF based on chromium" clarification

PostPosted: Wed Apr 07, 2021 8:51 am
by magreenblatt
@SteveM I don’t know if Chrome runtime support has been implemented by CefSharp. I suggest testing with the C++ sample apps.

Re: "CEF based on chromium" clarification

PostPosted: Wed Apr 07, 2021 3:04 pm
by SteveM
Thank's Marshall.

For sake of completeness for other people interested, I've tested HTML DataLists with a new 64bit build and this command on my Windows machine:

Code: Select all
cefclient --use-views --enable-chrome-runtime


I've used Mozilla's website for the test:
https://developer.mozilla.org/docs/Web/ ... ment/datalist

The tests failed
, but as Marshall noted, the chrome browser layer feature is currently considered as experimental.
https://bitbucket.org/chromiumembedded/ ... -callbacks

Re: "CEF based on chromium" clarification

PostPosted: Wed Apr 07, 2021 3:31 pm
by magreenblatt
What version did you test? Did you compare to Google Chrome? It works for me on Windows 10 64-bit with cefclient version 90.2.6+gcd40496+chromium-90.0.4430.51