chromium-embedded

Chromium Embedded Framework: Can I render into a canvas using DirectX?

旧城冷巷雨未停 提交于 2019-12-23 04:12:24
问题 i want to embed CEF into my DirectX application. Now I want to draw onto a Canvas element in the displayed html page using DirectX. This canvas may be obscured by other html elements above it so I cannot just take the absolute Canvas coordinates and render on it because then it would also render onto the elements on my canvas. I see two possibilities to solve this: I can make CEF display my texture in the page, so CEF uses my bytebuffer as an image and updates that area frequently. I can get

Chromium Embedded Framework: Can I render into a canvas using DirectX?

梦想的初衷 提交于 2019-12-23 04:12:18
问题 i want to embed CEF into my DirectX application. Now I want to draw onto a Canvas element in the displayed html page using DirectX. This canvas may be obscured by other html elements above it so I cannot just take the absolute Canvas coordinates and render on it because then it would also render onto the elements on my canvas. I see two possibilities to solve this: I can make CEF display my texture in the page, so CEF uses my bytebuffer as an image and updates that area frequently. I can get

Chromium Embedded Framework: Can I render into a canvas using DirectX?

南楼画角 提交于 2019-12-23 04:12:06
问题 i want to embed CEF into my DirectX application. Now I want to draw onto a Canvas element in the displayed html page using DirectX. This canvas may be obscured by other html elements above it so I cannot just take the absolute Canvas coordinates and render on it because then it would also render onto the elements on my canvas. I see two possibilities to solve this: I can make CEF display my texture in the page, so CEF uses my bytebuffer as an image and updates that area frequently. I can get

How to receive drag move and drag drop events using CefSharp winforms

偶尔善良 提交于 2019-12-23 01:42:18
问题 I am using the windowsformshost and trying to get dragover and drop events. I have set allowdrop on the WPF window, Windowsformshost and the ChromiumWebBrowser. I can understand that the WPF window will not get the event due to the windowsformshost airspace issues. But I dont understand why the windowsformshost or the ChromiumWebBrowser does not get any of the events. It appears they are swallowed and not passed on by CEF/CefSharp. How can I handle the events and/or what do I need to disable

Are there any ways to embed a browser in Android app?

末鹿安然 提交于 2019-12-21 17:45:20
问题 I'm working on a project that needs to manage requests(html/javascript) and many more other things. I Used Chromiumembedded for windows. Now I need something like that for android. I've searched about android programming and spent some time on Phonegap. As I know it opens a webview and have some javascript API for some device features like camera. So Phonegap is not going to help me. I wonder if there is any way to embed Chrome or any other browser that can be embedded in an android app? 回答1:

Separate cache per browser?

二次信任 提交于 2019-12-21 17:16:09
问题 Currently I'm setting the cache path as follows: CefSettings settings = new CefSettings(); settings.CachePath = mycachePath; Cef.Initialize(settings); var browser = new ChromiumWebBrowser(myUrl); The above works. However, I need to login to a website with 2 different accounts simultaneously but it uses the same cookie container. So if I login with one account and then the other, the first account is overridden. Is it possible to have a have a cache path per browser? Or is there a better way

How to trap/listen javascript function or events in cefsharp

本小妞迷上赌 提交于 2019-12-20 02:52:44
问题 I am trying to use cefSharp for a WPF application. I can find "how to call a Javascript methods from .Net. But is there a way where I can get notified for Javascript functions or events in .Net? e.g. if there is a Javascript function (with and without param) I can get the notification with or without values in .Net. 回答1: In short, YES! There's bindings available for: c# -> js use webBrowser.ExecuteScriptAsync(script); js -> c# use webBrowser.RegisterJsObject(A_NAME_FROM_JS, objectToBind);

Sending information from Chromium Embedded (Javascript) to a containing C++ application

≯℡__Kan透↙ 提交于 2019-12-18 15:16:28
问题 After checking out the Chromium Embedded Framework example I have a question. I need native interaction with the embedded part of my window. However, in the CEF example, all I saw was the c++ sending messages to the browser, not the other way around. I was wondering if there is any way to send a message from JavaScript from c++, like in the way of a function. What I am looking for is something like this. I have a button in my webpage that when clicked. I would like to minimize the window. Is

chromium - send custom header info on initial page load c#

橙三吉。 提交于 2019-12-17 16:37:29
问题 Or How to inject a custom header into the initial request to a site when new-ing up an instance of the ChromiumWebBrowser. I'm a noob with Chromium and could really use some help. I have a winforms app with a CEF window. K, no prob so far. What I need to do is to call/load the initial url with a custom http-header that contains authentication info. Is this possible? The following is essentially what is at play and all parts work except the custom header (Doh!) Winform(CEF httpRequest(with

How to integrate Chromium Embedded Framework (CEF) with java

社会主义新天地 提交于 2019-12-17 08:54:12
问题 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, etc). After lots of search i found Chromium Embedded Framework (CEF) or JCEF Java wrapper for CEF but i don't know how to use it in java to start with.What are the dependencies?How i can start development (POC) using netbeans ? Is it possible to embed