summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur.signell@itmill.com>2011-04-15 09:50:18 +0000
committerArtur Signell <artur.signell@itmill.com>2011-04-15 09:50:18 +0000
commit3d58df6b168201bb7ac035aaaa1a198391c7e527 (patch)
treeb6574fbc58034adec27b686b7ababbe573ffd6c3 /src/com
parentab638f468b0197feb2a04d83f07e44df7e63a0f1 (diff)
downloadvaadin-framework-3d58df6b168201bb7ac035aaaa1a198391c7e527.tar.gz
vaadin-framework-3d58df6b168201bb7ac035aaaa1a198391c7e527.zip
#5546 Method for checking if browser is IE9
svn changeset:18316/svn branch:6.6
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/terminal/gwt/client/BrowserInfo.java4
1 files changed, 4 insertions, 0 deletions
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();
}