osx: add chat support

This commit adds a collapsible right panel for incall chatting

Refs #74037

Change-Id: I82c53174c1dbdeb1cfdb4ab8a773256aa182b70c
diff --git a/src/RingWindowController.mm b/src/RingWindowController.mm
index f708f7c..7559041 100644
--- a/src/RingWindowController.mm
+++ b/src/RingWindowController.mm
@@ -36,15 +36,22 @@
 
 #import "AppDelegate.h"
 #import "Constants.h"
+#import "CurrentCallVC.h"
 
 @interface RingWindowController ()
 
 @property NSSearchField* callField;
+@property CurrentCallVC* currentVC;
+@property (unsafe_unretained) IBOutlet NSView *callView;
+
 
 @end
 
 @implementation RingWindowController
 @synthesize callField;
+@synthesize currentVC;
+@synthesize callView;
+
 static NSString* const kSearchViewIdentifier = @"SearchViewIdentifier";
 static NSString* const kPreferencesIdentifier = @"PreferencesIdentifier";
 static NSString* const kCallButtonIdentifer = @"CallButtonIdentifier";
@@ -53,6 +60,13 @@
     [super windowDidLoad];
     [self.window setReleasedWhenClosed:FALSE];
     [self displayMainToolBar];
+
+    currentVC = [[CurrentCallVC alloc] initWithNibName:@"CurrentCall" bundle:nil];
+    [callView setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
+    [[currentVC view] setAutoresizingMask:NSViewWidthSizable | NSViewHeightSizable];
+
+    [callView addSubview:[self.currentVC view]];
+    [currentVC initFrame];
 }
 
 - (IBAction)openPreferences:(id)sender