Google Chrome browser integration in eclipse

I am trying to create an application using SWT Browser. Is it possible to integrate Google Chrome as a browser in Eclipse (and not as an external web browser)?

+7
source share
4 answers

No, with the current stable version of google chrome you cannot use it inside SWT. The reason is that google chrome (and essentially chrome) does not support ActiveX (e.g. IE, Firefox, Safari, etc.), but is based on NPAPI . ( Note: I consider that you are running on a Windows machine, as you did not mention in your question !!)

But there are projects that are trying to create an embedded version of chrome. See the following links:

+7
source

You can install it through the Eclipse interface.

Go to: Window> Preferences> General> Web Browser

Select the "Use external browser" radio button

Click the "Create" button to add a new browser, for example. Chrome!

Click Apply + Ok

... and you have a job!

+2
source

Error 405031 - [Browser] implements Chromium support

https://bugs.eclipse.org/bugs/show_bug.cgi?id=405031

+1
source

If you cannot execute it through the user interface, try editing the settings in the following file.

YOUR-WORKSPACE\.metadata\.plugins\org.eclipse.core.runtime\.settings 
a file will appear called org.eclipse.ui.browser.prefs , which will open it using any text editor and change the corresponding values. This self-description, you can easily find out what to change and that's it. Have a backup of the same before changing.

Hope this helps you.

EDIT: Restart your eclipse to complete the above change.

0
source

All Articles