Update MissingPlugin.html to reflect new Chrome platform support
Review at http://gwt-code-reviews.appspot.com/1184801
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@9360 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/plugins/MissingPlugin/war/MissingPlugin.html b/plugins/MissingPlugin/war/MissingPlugin.html
index 69572d6..1809e3e 100644
--- a/plugins/MissingPlugin/war/MissingPlugin.html
+++ b/plugins/MissingPlugin/war/MissingPlugin.html
@@ -62,25 +62,12 @@
"supported" : false
},
- "chrome-lin" :
+ "chrome" :
{
- "caption" : "Sorry, there is currently no GWT Developer Plugin for Chrome on Linux",
- "url" : troubleshootingUrl,
- "supported" : false
- },
-
- "chrome-mac" :
- {
- "caption" : "Sorry, there is currently no GWT Developer Plugin for Chrome on OS X",
- "url" : troubleshootingUrl,
- "supported" : false
- },
-
- "chrome-win" :
- {
- "caption" : "The GWT Developer Plugin requires Chrome 4 or later,<br>so click here to learn about switching to the Chrome DevChannel to get early access",
- "url" : "http://dev.chromium.org/getting-involved/dev-channel",
- "supported" : false
+ "caption" : "Download the GWT Developer Plugin<br>For Chrome",
+ "url" : "https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crx",
+ "platforms" : "Win x86, Linux x86/x86_64, Mac x86",
+ "supported" : true
},
"safari-win" :
@@ -106,14 +93,6 @@
"supported" : true
},
- "chrome4-win" :
- {
- "caption" : "Download the GWT Developer Plugin<br>For Chrome",
- "url" : "https://dl-ssl.google.com/gwt/plugins/chrome/gwt-dev-plugin.crx",
- "platforms" : "Win x86",
- "supported" : true
- },
-
"safari-mac" :
{
"caption" : "Download the GWT Developer Plugin<br>For Safari",
@@ -133,20 +112,7 @@
} else if (ua.indexOf("android") != -1) {
id = 'webkit-android';
} else if (ua.indexOf("chrome") != -1) {
- if (ua.indexOf("windows") != -1) {
- var ver = /chrome\/(\d+)(\.\d+)*/.exec(ua);
- if (ver && ver.length > 1 && ver[1] >= 4) {
- id = 'chrome4-win';
- } else {
- id = 'chrome-win';
- }
- } else if (ua.indexOf("linux") != -1) {
- id = 'chrome-lin';
- } else if (ua.indexOf("macintosh") != -1) {
- id = 'chrome-mac';
- } else {
- // unknown Chrome platform
- }
+ id = 'chrome';
} else if (ua.indexOf("macintosh") != -1) {
id = 'safari-mac';
} else if (ua.indexOf("windows") != -1) {