1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/chromium/files/patch-content__common__plugin_messages.h
Rene Ladan 49bd254a6b Merge from Chruetertee repository:
- r235 : remove hacks in Zygote, allowing processes to exit more cleanly.
- r248 : switch back to previous rendering method (the same as OSX uses).
Bump PORTREVISION

Submitted by:	George Liaskos
2011-10-18 18:36:21 +00:00

39 lines
1.4 KiB
C

--- content/common/plugin_messages.h.orig 2011-07-28 11:01:09.000000000 +0300
+++ content/common/plugin_messages.h 2011-09-06 23:29:54.000000000 +0300
@@ -111,7 +111,7 @@
gfx::PluginWindowHandle /* output: X window id */)
#endif
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_FREEBSD)
// On Mac OS X, we need the browser to keep track of plugin windows so
// that it can add and remove them from stacking groups, hide and show the
// menu bar, etc. We pass the window rect for convenience so that the
@@ -206,7 +206,7 @@
IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus,
bool /* has_focus */)
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_FREEBSD)
IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus,
bool /* has_focus */)
@@ -278,7 +278,7 @@
IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent,
gfx::NativeViewId /* containing_window */)
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_FREEBSD)
// This message, used only on 10.6 and later, transmits the "fake"
// window handle allocated by the browser on behalf of the renderer
// to the GPU plugin.
@@ -358,7 +358,7 @@
IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown)
-#if defined(OS_MACOSX)
+#if defined(OS_MACOSX) || defined(OS_FREEBSD)
IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged,
bool /* focused */)