Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: webrtc/examples/objc/AppRTCDemo/mac/APPRTCAppDelegate.m

Issue 2283743003: Add local capturer on mac (Closed)
Patch Set: rebase to master Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2014 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2014 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #if !defined(__has_feature) || !__has_feature(objc_arc) 11 #if !defined(__has_feature) || !__has_feature(objc_arc)
12 #error "This file requires ARC support." 12 #error "This file requires ARC support."
13 #endif 13 #endif
14 14
15 #import "APPRTCAppDelegate.h" 15 #import "APPRTCAppDelegate.h"
16 16 #import "APPRTCViewController.h"
17 #import "WebRTC/RTCSSLAdapter.h" 17 #import "WebRTC/RTCSSLAdapter.h"
18 18
19 #import "APPRTCViewController.h"
20
21 @interface APPRTCAppDelegate () <NSWindowDelegate> 19 @interface APPRTCAppDelegate () <NSWindowDelegate>
22 @end 20 @end
23 21
24 @implementation APPRTCAppDelegate { 22 @implementation APPRTCAppDelegate {
25 APPRTCViewController* _viewController; 23 APPRTCViewController* _viewController;
26 NSWindow* _window; 24 NSWindow* _window;
27 } 25 }
28 26
29 #pragma mark - NSApplicationDelegate 27 #pragma mark - NSApplicationDelegate
30 28
(...skipping 21 matching lines...) Expand all
52 #pragma mark - NSWindow 50 #pragma mark - NSWindow
53 51
54 - (void)windowWillClose:(NSNotification*)notification { 52 - (void)windowWillClose:(NSNotification*)notification {
55 [_viewController windowWillClose:notification]; 53 [_viewController windowWillClose:notification];
56 RTCCleanupSSL(); 54 RTCCleanupSSL();
57 [NSApp terminate:self]; 55 [NSApp terminate:self];
58 } 56 }
59 57
60 @end 58 @end
61 59
OLDNEW
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ARDAppClient.m ('k') | webrtc/examples/objc/AppRTCDemo/mac/APPRTCViewController.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698