diff options
author | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 23:57:47 +0000 |
---|---|---|
committer | cevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-31 23:57:47 +0000 |
commit | 05100ec8f5b7926f990c6f61b04331fb4be4e99c (patch) | |
tree | e726b14f1b3a37acbd7fe6994ffe73d49c8b62d4 /webkit/plugins/npapi | |
parent | 4f96241da28ab67c163fb387299acbaa27fe00f9 (diff) | |
download | chromium_src-05100ec8f5b7926f990c6f61b04331fb4be4e99c.zip chromium_src-05100ec8f5b7926f990c6f61b04331fb4be4e99c.tar.gz chromium_src-05100ec8f5b7926f990c6f61b04331fb4be4e99c.tar.bz2 |
Update Silverlight v3 version metadata.
BUG=78005
Review URL: http://codereview.chromium.org/6783010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/npapi')
-rw-r--r-- | webkit/plugins/npapi/plugin_list.cc | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/webkit/plugins/npapi/plugin_list.cc b/webkit/plugins/npapi/plugin_list.cc index 933b13a..d25e8f3 100644 --- a/webkit/plugins/npapi/plugin_list.cc +++ b/webkit/plugins/npapi/plugin_list.cc @@ -34,6 +34,10 @@ static const VersionRangeDefinition kFlashVersionRange[] = { static const VersionRangeDefinition kShockwaveVersionRange[] = { { "", "", "11.5.9.620", true } }; +static const VersionRangeDefinition kSilverlightVersionRange[] = { + { "0", "4", "3.0.50611.0", false }, + { "4", "5", "", false } +}; // Similarly, try and share the group definition for plug-ins that are // very consistent across OS'es. @@ -46,6 +50,11 @@ static const PluginGroupDefinition kShockwaveDefinition = { kShockwaveVersionRange, arraysize(kShockwaveVersionRange), "http://www.adobe.com/shockwave/download/" }; +static const PluginGroupDefinition kSilverlightDefinition = { + "silverlight", PluginGroup::kSilverlightGroupName, "Silverlight", + kSilverlightVersionRange, arraysize(kSilverlightVersionRange), + "http://www.microsoft.com/getsilverlight/" }; + #if defined(OS_MACOSX) // Plugin Groups for Mac. // Plugins are listed here as soon as vulnerabilities and solutions @@ -56,10 +65,6 @@ static const VersionRangeDefinition kQuicktimeVersionRange[] = { static const VersionRangeDefinition kJavaVersionRange[] = { { "13.0", "14.0", "13.3.0", true } // Snow Leopard }; -static const VersionRangeDefinition kSilverlightVersionRange[] = { - { "0", "4", "3.0.50106.0", false }, - { "4", "5", "", false } -}; static const VersionRangeDefinition kFlip4MacVersionRange[] = { { "", "", "2.2.1", false } }; @@ -73,9 +78,7 @@ static const PluginGroupDefinition kGroupDefinitions[] = { { "java-runtime-environment", PluginGroup::kJavaGroupName, "Java", kJavaVersionRange, arraysize(kJavaVersionRange), "http://support.apple.com/kb/HT1338" }, - { "silverlight", "Silverlight", "Silverlight", kSilverlightVersionRange, - arraysize(kSilverlightVersionRange), - "http://www.microsoft.com/getsilverlight/" }, + kSilverlightDefinition, { "flip4mac", "Flip4Mac", "Flip4Mac", kFlip4MacVersionRange, arraysize(kFlip4MacVersionRange), "http://www.telestream.net/flip4mac-wmv/overview.htm" }, @@ -96,10 +99,6 @@ static const VersionRangeDefinition kAdobeReaderVersionRange[] = { { "9", "10", "9.4.3", false }, { "0", "9", "8.2.6", false } }; -static const VersionRangeDefinition kSilverlightVersionRange[] = { - { "0", "4", "3.0.50106.0", false }, - { "4", "5", "", false } -}; static const VersionRangeDefinition kDivXVersionRange[] = { { "", "", "1.4.3.4", false } }; @@ -117,9 +116,7 @@ static const PluginGroupDefinition kGroupDefinitions[] = { { "adobe-reader", PluginGroup::kAdobeReaderGroupName, "Adobe Acrobat", kAdobeReaderVersionRange, arraysize(kAdobeReaderVersionRange), "http://get.adobe.com/reader/" }, - { "silverlight", PluginGroup::kSilverlightGroupName, "Silverlight", - kSilverlightVersionRange, arraysize(kSilverlightVersionRange), - "http://www.microsoft.com/getsilverlight/" }, + kSilverlightDefinition, kShockwaveDefinition, { "divx-player", "DivX Player", "DivX Web Player", kDivXVersionRange, arraysize(kDivXVersionRange), |