Revision: 9360
Author: gwt.mirror...@gmail.com
Date: Mon Dec  6 07:57:35 2010
Log: Update MissingPlugin.html to reflect new Chrome platform support

Review at http://gwt-code-reviews.appspot.com/1184801

http://code.google.com/p/google-web-toolkit/source/detail?r=9360

Modified:
 /trunk/plugins/MissingPlugin/war/MissingPlugin.html

=======================================
--- /trunk/plugins/MissingPlugin/war/MissingPlugin.html Tue Nov 17 08:54:24 2009 +++ /trunk/plugins/MissingPlugin/war/MissingPlugin.html Mon Dec 6 07:57:35 2010
@@ -62,27 +62,14 @@
             "supported" : false
           },

-          "chrome-lin" :
-          {
- "caption" : "Sorry, there is currently no GWT Developer Plugin for Chrome on Linux",
-            "url" : troubleshootingUrl,
-            "supported" : false
+          "chrome" :
+          {
+            "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
           },

-          "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
-          },
-
           "safari-win" :
           {
"caption" : "Sorry, there is currently no GWT Developer Plugin for Safari on Windows",
@@ -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) {

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to