OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/plugins/npapi/plugin_list.h" | 5 #include "webkit/plugins/npapi/plugin_list.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 { "microsoft-office", "Microsoft Office", "Microsoft Office", | 131 { "microsoft-office", "Microsoft Office", "Microsoft Office", |
132 NULL, 0, "" }, | 132 NULL, 0, "" }, |
133 }; | 133 }; |
134 | 134 |
135 #else | 135 #else |
136 static const VersionRangeDefinition kJavaVersionRange[] = { | 136 static const VersionRangeDefinition kJavaVersionRange[] = { |
137 { "0", "1.7", "1.6.0.24" } | 137 { "0", "1.7", "1.6.0.24" } |
138 }; | 138 }; |
139 | 139 |
140 static const VersionRangeDefinition kRedhatIcedTeaVersionRange[] = { | 140 static const VersionRangeDefinition kRedhatIcedTeaVersionRange[] = { |
141 { "0", "1.9", "1.8.5" }, | 141 { "0", "1.9", "1.8.7" }, |
142 { "1.9", "1.10", "1.9.5" }, | 142 { "1.9", "1.10", "1.9.7" }, |
143 }; | 143 }; |
144 | 144 |
145 static const PluginGroupDefinition kGroupDefinitions[] = { | 145 static const PluginGroupDefinition kGroupDefinitions[] = { |
146 // Flash on Linux is significant because there isn't yet a built-in Flash | 146 // Flash on Linux is significant because there isn't yet a built-in Flash |
147 // plug-in on the Linux 64-bit version of Chrome. | 147 // plug-in on the Linux 64-bit version of Chrome. |
148 kFlashDefinition, | 148 kFlashDefinition, |
149 { "java-runtime-environment", "Java 6", "Java", kJavaVersionRange, | 149 { "java-runtime-environment", "Java 6", "Java", kJavaVersionRange, |
150 arraysize(kJavaVersionRange), | 150 arraysize(kJavaVersionRange), |
151 "http://www.java.com/en/download/manual.jsp" }, | 151 "http://www.java.com/en/download/manual.jsp" }, |
152 { "redhat-icetea-java", "IcedTea", "IcedTea", kRedhatIcedTeaVersionRange, | 152 { "redhat-icetea-java", "IcedTea", "IcedTea", kRedhatIcedTeaVersionRange, |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 void PluginList::DisableOutdatedPluginGroups() { | 825 void PluginList::DisableOutdatedPluginGroups() { |
826 disable_outdated_plugins_ = true; | 826 disable_outdated_plugins_ = true; |
827 } | 827 } |
828 | 828 |
829 PluginList::~PluginList() { | 829 PluginList::~PluginList() { |
830 } | 830 } |
831 | 831 |
832 | 832 |
833 } // namespace npapi | 833 } // namespace npapi |
834 } // namespace webkit | 834 } // namespace webkit |
OLD | NEW |