osx: add chat support

This commit adds a collapsible right panel for incall chatting

Refs #74037

Change-Id: I82c53174c1dbdeb1cfdb4ab8a773256aa182b70c
diff --git a/src/views/CallView.mm b/src/views/CallView.mm
index 8831db2..43a5d80 100644
--- a/src/views/CallView.mm
+++ b/src/views/CallView.mm
@@ -186,15 +186,8 @@
     else if([theEvent clickCount] == 2)
     {
         [NSObject cancelPreviousPerformRequestsWithTarget:self]; // cancel showContextualMenu
-        if(self.isInFullScreenMode)
-            [self exitFullScreenModeWithOptions:nil];
-        else {
-             NSApplicationPresentationOptions options = NSApplicationPresentationDefault + NSApplicationPresentationAutoHideDock +
-                                                        NSApplicationPresentationAutoHideMenuBar + NSApplicationPresentationAutoHideToolbar;
-            NSDictionary *opts = [NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithUnsignedInt:options], NSFullScreenModeApplicationPresentationOptions, nil];
-
-            [self enterFullScreenMode:[NSScreen mainScreen]  withOptions:opts];
-        }
+        if(self.fullScreenDelegate)
+            [self.fullScreenDelegate callShouldToggleFullScreen];
     }
 }