summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/PluginProcess/mac/PluginProcessShim.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/PluginProcess/mac/PluginProcessShim.h')
-rw-r--r--Source/WebKit2/PluginProcess/mac/PluginProcessShim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/WebKit2/PluginProcess/mac/PluginProcessShim.h b/Source/WebKit2/PluginProcess/mac/PluginProcessShim.h
index 0fbee23..b021a3a 100644
--- a/Source/WebKit2/PluginProcess/mac/PluginProcessShim.h
+++ b/Source/WebKit2/PluginProcess/mac/PluginProcessShim.h
@@ -26,6 +26,8 @@
#ifndef PluginProcessShim_h
#define PluginProcessShim_h
+@class NSWindow;
+
#include <Carbon/Carbon.h>
namespace WebKit {
@@ -34,6 +36,11 @@ struct PluginProcessShimCallbacks {
bool (*shouldCallRealDebugger)();
bool (*isWindowActive)(WindowRef, bool& result);
UInt32 (*getCurrentEventButtonState)();
+ void (*cocoaWindowShown)(NSWindow *);
+ void (*cocoaWindowHidden)(NSWindow *);
+ void (*carbonWindowShown)(WindowRef);
+ void (*carbonWindowHidden)(WindowRef);
+ void (*setModal)(bool);
};
typedef void (*PluginProcessShimInitializeFunc)(const PluginProcessShimCallbacks&);