Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3805)

Unified Diff: Source/modules/plugins/NavigatorPlugins.cpp

Issue 1306403003: Remove javaEnabled setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/modules/plugins/NavigatorPlugins.cpp
diff --git a/Source/modules/plugins/NavigatorPlugins.cpp b/Source/modules/plugins/NavigatorPlugins.cpp
index bf48d9cfd8542de4495cae8a3512621bcd0949a7..c86cd06b22d874d121bebd275d05861b495a8cdd 100644
--- a/Source/modules/plugins/NavigatorPlugins.cpp
+++ b/Source/modules/plugins/NavigatorPlugins.cpp
@@ -60,7 +60,7 @@ DOMMimeTypeArray* NavigatorPlugins::mimeTypes(Navigator& navigator)
// static
bool NavigatorPlugins::javaEnabled(Navigator& navigator)
{
- return NavigatorPlugins::from(navigator).javaEnabled(navigator.frame());
+ return false;
}
DOMPluginArray* NavigatorPlugins::plugins(LocalFrame* frame) const
@@ -77,14 +77,6 @@ DOMMimeTypeArray* NavigatorPlugins::mimeTypes(LocalFrame* frame) const
return m_mimeTypes.get();
}
-bool NavigatorPlugins::javaEnabled(LocalFrame* frame) const
-{
- if (!frame || !frame->settings())
- return false;
-
- return frame->settings()->javaEnabled();
-}
-
DEFINE_TRACE(NavigatorPlugins)
{
visitor->trace(m_plugins);

Powered by Google App Engine
This is Rietveld 408576698