From 3d58df6b168201bb7ac035aaaa1a198391c7e527 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Fri, 15 Apr 2011 09:50:18 +0000 Subject: [PATCH] #5546 Method for checking if browser is IE9 svn changeset:18316/svn branch:6.6 --- src/com/vaadin/terminal/gwt/client/BrowserInfo.java | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.39.5