Questions tagged [chromium-embedded]

1147 questions
164
votes
7 answers

Options for embedding Chromium instead of IE WebBrowser control with WPF/C#

Updated for 2020, I've linked my article where I compare the memory footprints of different approaches to hosting HTML WebView in a basic Windows Desktop application: MSEdge WebView2 WPF Chromely/CefSharp Electron v10 Legacy IE11 WebBrowser…
noseratio
  • 56,401
  • 21
  • 172
  • 421
30
votes
3 answers

Is Google Chrome embeddable?

I've asked myself if one can embed the google chrome browser engine in an own application. I'm using Delphi 2009. There's an IE ActiveX wrapper component delivered with the IDE. Also, there's a Firefox ActiveX component out there, but it's based on…
26
votes
5 answers

Debugging JavaScript in Chromium Embedded Framework

I have a WPF application which uses CEF to display web content. My question is, is there a way to debug the Javascript/Web parts inside a WPF application?
stefan
  • 529
  • 2
  • 7
  • 25
25
votes
2 answers

Does CEF3 support NaCl?

Has anyone had success in enabling NaCl/PNaCl support in the CEF3 (Chromium Embedded Framework)? I find that Chrome (34) can run the PNaCl samples on this page fine, but the cefclient distributed at cefbuilds.com (Windows, 1916 branch) does…
holtavolt
  • 4,247
  • 1
  • 23
  • 38
22
votes
2 answers

cefsharp execute javascript

I want to execute JavaScript code by using CefSharp in Windows Forms, but it does not work. The code is as following, and the message test is not shown. Did I miss something? var browser = new…
Pei-Chun Tsai
  • 223
  • 1
  • 2
  • 6
21
votes
3 answers

Download file with CefSharp WinForms

I'm trying to download some file (image, audio file, or something else) from my app using CefSharp WinForms. I read many other posts, but nothing seems to work. Do you have any sample code that implements the downloader for CefSharp? I tried…
crasholino
  • 597
  • 1
  • 5
  • 13
20
votes
2 answers

How to integrate Chromium Embedded Framework (CEF) with java

I'd like to make a desktop application to let a website be browsed, I don't want to make a browser but a Browser embeded Application. I've tried with JavaFx but I've found some problems like missing support for plugins (eg: flash, pdf viewer,…
Amogh
  • 4,220
  • 9
  • 36
  • 91
16
votes
3 answers

CefSharp LoadHtml

Could someone explain to me how the CefSharp LoadHtml function works? LoadHtml(string html, string url) What do the html and url parameters represent? I am interested in loading a page from a raw HTML string into the CefSharp browser.
G-Man
  • 6,807
  • 18
  • 65
  • 94
14
votes
1 answer

How to handle popup links in CefSharp

I am creating a tabbed web browser using CefSharp 39.0.2. Right now, if the user clicks on a link on a website, it will open a new window that has none of my original UI. For example, when you click on an article link on Google News, it opens in a…
AJDev
  • 1,387
  • 4
  • 11
  • 22
14
votes
4 answers

Working with locally built web page in CefSharp

I have a CefSharp browser created in my Winform and I need to dynamically build an HTML page in memory and then have CefSharp render it. Ideally I would like to pass the constructor a string with the HTML in it but it is expecting a URL. The answer…
user461051
  • 391
  • 2
  • 6
  • 16
13
votes
2 answers

How to have the minimum size possible Chromium Embedded Framework dlls

Chromium Embedded Framework (http://code.google.com/p/delphichromiumembedded/) is good. I use it to display static HTML, JS and CSS generated from Delphi code only. But I find it too big. I need: I need HTML support I need JavaScript support. I…
Gad D Lord
  • 6,130
  • 10
  • 50
  • 98
13
votes
3 answers

Where are the docs for the Chromium Embedded Framework?

I downloaded and started playing with CEF, but there doesn't seem to be any docs for it. Not even a working wiki… Am I missing something?
TheNewbie
  • 554
  • 1
  • 6
  • 13
12
votes
1 answer

How to change the URL using CefSharp WinForms

So, I decided to give CefSharp another go, grabbed the CefSharp.Winforms nuget, and dropped in the following code : public CefSharp.WinForms.ChromiumWebBrowser browser; public Form1() { InitializeComponent(); browser=new…
Kraang Prime
  • 8,620
  • 8
  • 50
  • 107
11
votes
1 answer

How to kill chromium embedded framework subprocess?

in a PC game I have ingame browser used for news, virtual currency shop and social networks. It's built with quite fresh update of Chromium Embedded Framework. The problem is when I open a browser window (website is working fine there) and then…
Juster
  • 694
  • 1
  • 9
  • 23
11
votes
2 answers

Wait for a page to load with CefSharp

first and foremost I am a novice at C# and learning Cefsharp + javascript as I go so please attempt to comment any solution you feel are necessary, will save me asking stupid questions. I'm attempting to wait until the page has finished loading with…
James D
  • 281
  • 1
  • 2
  • 13
1
2 3
76 77