Comments (4)
@daniel-sanche I see what you are talking, but your link from my Firefox and for GDCEF is displayed on the same page split vertically. Do you mean a mouse click "open in a new tab" feature?
I obtain your result with https://duckduckgo.com and clicking on the blue button "add duck to your browser". When you are saying "this open a OS window". I guess simply it calls the secondary process gdcef/build/gdcefSubProcess
which is a runnable browser application (edit: it used to be a browser since SHA1 e939b66 it seems no longer display).
from gdcef.
@daniel-sanche I've done implementing a basic 2D browser https://github.com/Lecrapouille/gdcef/tree/master/addons/gdcef/demos/2D when creating a new browser tab it opens my favorite radio webpage, you then can click on the "Tune In" icon this will create the OS windows. Now we can try to fix it and implement a C++ method on_popup_created
and trigger a Godot callback returning the created browser as Godot node on_popup_created(node):
from gdcef.
Ok cool, that sounds like a good solution to me! Maybe by default it can just open the link in the current browser, if the user doesn't add the callback?
Also, when I was investigating this, it seemed to me like the CefLigfeSpanHandler functions in the GDCef Impl class weren't being called. I'm thinking maybe we need to implement GetDefaultClient() to register it as a client like in this sample?
from gdcef.
@daniel-sanche you are certainly right! For the moment I did not investigate
from gdcef.
Related Issues (20)
- License HOT 4
- Windows demo crashing immediately on play HOT 6
- Locale is in French
- Looking for MacOs and/or Godot and/or CEF developer HOT 1
- User-configutable resource directory HOT 9
- Add CI for Windows HOT 2
- Merging the last std::cout with GDCEF_ERROR and godot::Godot::print HOT 1
- Add example of JS injection in demo
- Add Godot smoke test HOT 1
- Upload compiled library artifacts as part of CI HOT 1
- Windows CEF crashing on play HOT 5
- Widevine support? HOT 2
- FileNotFoundError on compile HOT 6
- Please add support for Godot-4.0 HOT 9
- CEF 104 failed with Linux HOT 9
- LD_LIBRARY_PATH
- Missing information
- Wrong folder organisation HOT 5
- No SConstruct file found HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdcef.