Git Product home page Git Product logo

Comments (9)

magreenblatt avatar magreenblatt commented on June 18, 2024

Comment 1. originally posted by magreenblatt on 2014-03-12T09:50:30.000Z:

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Comment 2. originally posted by magreenblatt on 2014-03-12T09:52:43.000Z:

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Comment 3. originally posted by magreenblatt on 2014-03-12T09:52:58.000Z:

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Comment 4. originally posted by magreenblatt on 2014-03-28T12:38:22.000Z:

Added in revision 38. Leaving this open to address the DevTools issue.

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Original comment by Anonymous.


Comment 5. originally posted by [email protected] on 2014-06-04T12:02:58.000Z:

@ comment comment 4.:

Attached you'll find a patch file which fixes the DevTools issue.
Please note: The patch file depends on that ones which are attached to comment comment 6. of issue #47 (https://code.google.com/p/javachromiumembedded/issues/detail?id=47\#c6). So if you want to test the patch file, please add the patches from issue #47 first.

What I've done:

(*) Replaced the methods "CefBrowser.showDevTools(CefclientHandler)" and "CefBrowser.closeDevTools()" by "CefBrowser.getDevTools()".
The new method getDevTools() returns a new CefBrowser object which can be embedded into your applications UI.
(*) The classes CefBrowserWr and CefBrowserOsr decide if they have to create a "normal" CefBrowser instance or if they have to call showDevTools() within the native code.
(*) Sending close() to the DevTools CefBrowser instance, will perform a closeDevTools() on the native side

This fix works for Windows and Macintosh as well. Linux is not tested but should work too.

One comment for Mac users:
If you're running the MainFrame test out of your IDE like Eclipse you've to add the CEF program argument "--resources-dir-path=/path/to/your/Chromium Embedded Framework.framework/Resources".
If you're using the App-Bundles, the Dev tools work without setting the resources path.

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Comment 6. originally posted by magreenblatt on 2014-06-17T16:50:09.000Z:

@ comment 5.: Thanks, added in revision 78.

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024
  • set state to "open"

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024

Original changes by Anonymous.


  • set attachment to "2014-06-04_issue51.patch"

from java-cef.

magreenblatt avatar magreenblatt commented on June 18, 2024
  • set state to "resolved"

from java-cef.

Related Issues (20)

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.