Index: Source/core/loader/FrameLoaderClient.h |
diff --git a/Source/core/loader/FrameLoaderClient.h b/Source/core/loader/FrameLoaderClient.h |
index ec3ca3ccfc501d68a8b1bdfe415db7ae3d2b879d..d1882452d997b90776b5830b842f552824577b46 100644 |
--- a/Source/core/loader/FrameLoaderClient.h |
+++ b/Source/core/loader/FrameLoaderClient.h |
@@ -90,6 +90,7 @@ class FetchRequest; |
class FrameLoaderClient { |
public: |
+ enum PluginLoadType { PluginLoadRequiresRenderer, PluginLoadWithoutRenderer}; |
virtual ~FrameLoaderClient() { } |
virtual void frameLoaderDestroyed() = 0; |
@@ -168,7 +169,8 @@ class FetchRequest; |
virtual void transitionToCommittedForNewPage() = 0; |
virtual PassRefPtr<Frame> createFrame(const KURL&, const String& name, const String& referrer, HTMLFrameOwnerElement*) = 0; |
- virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadManually) = 0; |
+ virtual bool canCreatePluginWithoutRenderer(const String& mimeType) const = 0; |
+ virtual PassRefPtr<Widget> createPlugin(const IntSize&, HTMLPlugInElement*, const KURL&, const Vector<String>&, const Vector<String>&, const String&, bool loadManually, PluginLoadType = PluginLoadRequiresRenderer) = 0; |
virtual PassRefPtr<Widget> createJavaAppletWidget(const IntSize&, HTMLAppletElement*, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues) = 0; |