summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/Plugins/PluginQuirks.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/Plugins/PluginQuirks.h')
-rw-r--r--Source/WebKit2/Shared/Plugins/PluginQuirks.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/Plugins/PluginQuirks.h b/Source/WebKit2/Shared/Plugins/PluginQuirks.h
index 8dd3a74..9f8c1c4 100644
--- a/Source/WebKit2/Shared/Plugins/PluginQuirks.h
+++ b/Source/WebKit2/Shared/Plugins/PluginQuirks.h
@@ -32,12 +32,18 @@ class PluginQuirks {
public:
enum PluginQuirk {
// Mac specific quirks:
-#if PLATFORM(MAC)
+#if PLUGIN_ARCHITECTURE(MAC)
// The plug-in wants the call to getprogame() to return "WebKitPluginHost".
// Adobe Flash Will not handle key down events otherwise.
PrognameShouldBeWebKitPluginHost,
+ // Supports receiving a paint event, even when using CoreAnimation rendering.
+ SupportsSnapshotting,
+#elif PLUGIN_ARCHITECTURE(X11)
+ // Flash and npwrapper ask the browser about which GTK version does it use
+ // and refuse to load and work if it is not GTK 2 so we need to fake it in
+ // NPN_GetValue even when it is a lie.
+ RequiresGTKToolKit,
#endif
-
NumPluginQuirks
};