Chrome policy support in CEF v117?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Chrome policy support in CEF v117?

Postby dasmann » Fri Nov 10, 2023 6:52 am

I need to add support for a certain Chrome policy within an embedded Cef browser window used within a WPF application. The policy is CloudAPAuthEnabled.

Is this programmatically possible? I have looked through this forum and it doesn't look like it, but I could be being an idiot and just not see it.

If not, then I could in theory programmatically add a registry entry to enable it in Chrome, but would it then be effective within the Cef embedded browser?

Many thanks in advance!
dasmann
Newbie
 
Posts: 3
Joined: Fri Nov 10, 2023 6:43 am

Re: Chrome policy support in CEF v117?

Postby magreenblatt » Fri Nov 10, 2023 11:06 am

Chrome runtime supports Chrome policies. See https://github.com/chromiumembedded/cef/issues/3581
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Chrome policy support in CEF v117?

Postby dasmann » Fri Nov 10, 2023 2:48 pm

Thanks for this information. I'm kind of new to this, so can I clarify whether this then applies to CefSharp.Wpf (v117)?

If so, then is adding this to the command line args equivalent to the CloudAPAuthEnabled policy?

"--enable-chrome-browser-cloud-management"
dasmann
Newbie
 
Posts: 3
Joined: Fri Nov 10, 2023 6:43 am

Re: Chrome policy support in CEF v117?

Postby magreenblatt » Fri Nov 10, 2023 6:19 pm

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Chrome policy support in CEF v117?

Postby dasmann » Sat Nov 11, 2023 10:15 am

Thanks for this clarity. It's a shame that its not possible in WPF. Do you know whether there is any hack/workaround?
dasmann
Newbie
 
Posts: 3
Joined: Fri Nov 10, 2023 6:43 am

Re: Chrome policy support in CEF v117?

Postby magreenblatt » Sat Nov 11, 2023 2:36 pm

dasmann wrote:Thanks for this clarity. It's a shame that its not possible in WPF. Do you know whether there is any hack/workaround?

Maybe you can use Wpf.HwndHost instead?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 177 guests