Code Monkey home page Code Monkey logo

cefviewcore's People

Contributors

ho-cooh avatar l-super avatar le0zh avatar leashi avatar mensong avatar tishion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cefviewcore's Issues

CefViewWing cannot start

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

Cef version selection

Hello, why use [102.0.10+gf249b2e+chromium-102.0.5005.115] instead of [CEF 104.4.26+g4180781+chromium-104.0.5112.102] ?

Build break with cef91

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'

See:
cefsharp/CefSharp#3497

Drag and drop event problem

当从文件管理器拖动文件到页面进行上传操作时,以下条件总是成立的,每次返回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.

CefViewBrowserClient::OnDragEnter(CefRefPtr<CefBrowser> browser,
CefRefPtr<CefDragData> dragData,
CefDragHandler::DragOperationsMask mask)
{
CEF_REQUIRE_UI_THREAD();
// Forbid dragging of URLs and files.
if ((mask & DRAG_OPERATION_LINK) && !dragData->IsFragment()) {
return true;
}
return true;

Looking some help for MacOS

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

A question about "CefViewClient::V8ValueToCefValue"

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.