Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Mozilla flag

Hi Grant,

Thanks a lot for the clarifications. Indeed, the way it currently
behaves makes perfect sense.

The problem we have is to differentiate the various types of browsers,
but since we are mostly interested in Windows and Linux, my question
was about Mozilla and non-Mozilla.

We pilot the browser with Javascript so we need to know the rendering.
We can achieve this distinction with a mix of SWT.getPlatform() and
browser.getStyle().

It would be good, especially if we decide to support more platforms,
to have a clear way to know the rendering, something like
"Browser.getBrowserType()" which would return SWT.IE, SWT.MOZILLA,
SWT.SAFARI, etc. I am thinking of opening an enhancement request, does
it make sense? Any suggestions?

Cheers,
-Christopher


Back to the top