| Index: chrome/browser/plugin_process_host.cc
|
| ===================================================================
|
| --- chrome/browser/plugin_process_host.cc (revision 27721)
|
| +++ chrome/browser/plugin_process_host.cc (working copy)
|
| @@ -325,6 +325,11 @@
|
| window_index++) {
|
| PostMessage(*window_index, WM_CLOSE, 0, 0);
|
| }
|
| +#elif defined(OS_MACOSX)
|
| + // If the plugin process crashed but had windows open at the time, make
|
| + // sure that the menu bar is visible.
|
| + if (!plugin_visible_windows_set_.empty())
|
| + SetSystemUIMode(kUIModeNormal, 0);
|
| #endif
|
| }
|
|
|
| @@ -477,6 +482,16 @@
|
| IPC_MESSAGE_HANDLER(PluginProcessHostMsg_MapNativeViewId,
|
| OnMapNativeViewId)
|
| #endif
|
| +#if defined(OS_MACOSX)
|
| + IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginSelectWindow,
|
| + OnPluginSelectWindow)
|
| + IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginShowWindow,
|
| + OnPluginShowWindow)
|
| + IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginHideWindow,
|
| + OnPluginHideWindow)
|
| + IPC_MESSAGE_HANDLER(PluginProcessHostMsg_PluginDisposeWindow,
|
| + OnPluginDisposeWindow)
|
| +#endif
|
| IPC_MESSAGE_UNHANDLED_ERROR()
|
| IPC_END_MESSAGE_MAP()
|
| }
|
|
|