cefview / cefviewcore Goto Github PK
View Code? Open in Web Editor NEWA common library providing clean and easy consuming of CEF
License: MIT License
A common library providing clean and easy consuming of CEF
License: MIT License
A comment states the following:
"The IsDouble, IsInt and IsUint methods return a boolean value indicating whether the CefV8Value instance is a target type or can be converted to the target type."
My question is, from where do you deduce that those functions tells if the value can be converted, beside testing the type?
Looking in the CEF headers, I read this and (if I am not mistaken) conclude that the functions ONLY check the type.
So the order in which the IsDouble, IsInt and IsUint functions are used should be irrelevant.
///
/// True if the value type is int.
///
/*--cef()--*/
virtual bool IsInt() = 0;
///
/// True if the value type is unsigned int.
///
/*--cef()--*/
virtual bool IsUInt() = 0;
Thanks
I have a problem with default compiled cefviewcore and cefviewwing, which I suppose must be an example application using cefviewcore.
The CefViewAppBase::GetProcessType(command_line); function returns unknown type, if I pass --type=renderer in launch arguments it crashes with some weird exit code and --type=zygote returns 1 as well.
What are the steps to launch the example app? Is there any documentation on how to use cefviewcore?
I am using Rider ide, with vs2022 toolchain
rt how to use in win32 app maybe directui
当从文件管理器拖动文件到页面进行上传操作时,以下条件总是成立的,每次返回true,则导致无法调用默认的drag处理。
if ((mask & DRAG_OPERATION_LINK) && !dragData->IsFragment()) {
return true;
}
所以,不太理解,这样不是就默认禁用了DND操作了吗?
CEF里描述
Return false for default drag handling behavior or true to cancel the drag event.
1>E:\Develop\2019\QCefView\CefViewCore\src\CefView\CefBrowserApp\CefViewBrowserApp.cpp(66,12): error C2039: 'SetSupportedSchemes': is not a member of 'CefCookieManager'
1>E:\Develop\2019\QCefView\CefViewCore\dep\cef_binary_91.1.22+gc67b5dd+chromium-91.0.4472.124_windows32\include/cef_cookie.h(54): message : see declaration of 'CefCookieManager'
Hello, why use [102.0.10+gf249b2e+chromium-102.0.5005.115] instead of [CEF 104.4.26+g4180781+chromium-104.0.5112.102] ?
Hello ! This is not an issue. I've made the following projects:
Currently, I'm stuck with the portage for MacOS. I'm not a Mac dev and I do not know C# and I have few access to Macbook for testing (recently, I succeeded to create my own MacOS bundle applications from a Makefile for some of my personal GitHub projects).
Your project seems working for all systems. Are you interested helping me to give me clues for my projects or some pull requests ? I started my projects by studying the cefsimple example and my gdcef repo is working for Linux and Windows (from the Godot editor + exported project) but no luck with Mac. The OffScreenCEF was my prototype, quickly coded, it only works for Linux, better for me to start from this first.
How have you reached your goal ? I guess the https://github.com/CefView/CefViewCore/blob/main/src/CefWing/mac/main.mm is used for compiling all helper bundle applications that are present inside the main bundle application https://github.com/CefView/CefViewCore/blob/main/CMakeLists.txt#L137 ? Is C# mandatory ? Why not using C++ directly ? And from the main application (the Qt) we have to set some options specific to Mac to locate frameworks inside the bundle ? Where are they in your project ?
Thanks in advance
Please update one, 3Q
win10系统下,文件CefViewCore\src\CefView\CefBrowserApp\CefViewBrowserClient.cpp的228行
auto context = arguments->GetDouble(0);
无法获取到context的值,改为:
auto context = arguments->GetInt(0);
是可以的。
suggest add CefDownloadHandler
Thanks!
CefViewCore/include/CefViewCoreProtocol.h
Lines 105 to 110 in 8604b2c
新版本请问能提供支持吗?
感觉项目很不错,在Qt+CEF场景下。不知道现在能用于生产环境吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.