Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Support #35

Open
cretz opened this issue Sep 12, 2017 · 5 comments
Open

Extension Support #35

cretz opened this issue Sep 12, 2017 · 5 comments

Comments

@cretz
Copy link
Owner

cretz commented Sep 12, 2017

Now that this issue has gone a long way, we might be able to add them to Doogie soon. Yay.

@tonymiao2012
Copy link

As far as I know, CEF3 supports JS extension itself. Use 'native' tag to claim JS codes will map your JS functions to native methods. Why not use that way?

@travisfont
Copy link

travisfont commented Sep 26, 2017

@tonymiao2012 can you explain in better detail?

Also, what's the difference from Extension (to) Plugin? Reference #34

Overall, having extensions is a HUGE enhancement! It's what separates the user from fully using Doogie over Chrome.

@terinjokes
Copy link

@tfont I'm not @cretz but I believe plugins means the "native" plugins like Flash (and Widevine DRM plugin #30), whereas extensions are the things we are commonly interacting with.

@cretz
Copy link
Owner Author

cretz commented Sep 27, 2017

My uses of the terms:

  • extension - same as Chrome defines them, and hopefully same API (this issue)
  • Doogie plugin - maybe some thing in the future where I expose C++ headers so you can write something that interacts with the page tree for example (issue Plugin Support #34)
  • Chromium plugin - same as Chrome, e.g. flash, widevine, etc (other issues like Support Widevine DRM Plugin #30)

No guarantees if/when any of this will happen, but the issues are there to capture discussion.

@tonymiao2012
Copy link

@tfont Well, the meaning of "extension" I mentioned before is similar with the concept "JS Integration". I have a reference here: https://bitbucket.org/chromiumembedded/cef/wiki/JavaScriptIntegration.md. CEF3 supports embedded V8 extension. So you could define your local JS API freely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants