From: Artur Signell Date: Fri, 15 Apr 2011 09:50:18 +0000 (+0000) Subject: #5546 Method for checking if browser is IE9 X-Git-Tag: 6.7.0.beta1~339 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d58df6b168201bb7ac035aaaa1a198391c7e527;p=vaadin-framework.git #5546 Method for checking if browser is IE9 svn changeset:18316/svn branch:6.6 --- diff --git a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java index e4dd61b0b9..141a05ffdb 100644 --- a/src/com/vaadin/terminal/gwt/client/BrowserInfo.java +++ b/src/com/vaadin/terminal/gwt/client/BrowserInfo.java @@ -193,6 +193,10 @@ public class BrowserInfo { return isIE() && browserDetails.getBrowserMajorVersion() == 8; } + public boolean isIE9() { + return isIE() && browserDetails.getBrowserMajorVersion() == 9; + } + public boolean isChrome() { return browserDetails.isChrome(); }