
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
enable notifications
enable notifications
Good morning, how can I enable notifications?


- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: enable notifications
Hi,
Notifications work when the CEF browser uses the Chrome runtime style, which is enabled by default unless the browser uses the OSR mode.
See the MiniBrowser demo.
Notifications work when the CEF browser uses the Chrome runtime style, which is enabled by default unless the browser uses the OSR mode.
See the MiniBrowser demo.
Re: enable notifications
Thank you very much for responding. One question: How do I use Chrome's execution style in my project?
I've checked the "Minibrowser" project but can't find the code.
Thank you for your time.
I've checked the "Minibrowser" project but can't find the code.

Thank you for your time.
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: enable notifications
The Chrome runtime is enabled by default and you only have to copy the code from the demo that fits your needs to your application.
Only the demos that set the TChromium.RuntimeStyle property to CEF_RUNTIME_STYLE_ALLOY, or the demos in OSR mode, also known as off-screen rendering mode, use the Alloy style.
The biggest different between the Chrome and Alloy runtime style are the destruction steps but all the demos have some code comments explaining how to destroy the application correctly.
Only the demos that set the TChromium.RuntimeStyle property to CEF_RUNTIME_STYLE_ALLOY, or the demos in OSR mode, also known as off-screen rendering mode, use the Alloy style.
The biggest different between the Chrome and Alloy runtime style are the destruction steps but all the demos have some code comments explaining how to destroy the application correctly.