OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #include "webrtc/modules/video_render/mac/cocoa_full_screen_window.h" | 11 #include "webrtc/modules/video_render/mac/cocoa_full_screen_window.h" |
12 #include "webrtc/system_wrappers/interface/trace.h" | 12 #include "webrtc/system_wrappers/include/trace.h" |
13 | 13 |
14 using namespace webrtc; | 14 using namespace webrtc; |
15 | 15 |
16 @implementation CocoaFullScreenWindow | 16 @implementation CocoaFullScreenWindow |
17 | 17 |
18 -(id)init{ | 18 -(id)init{ |
19 | 19 |
20 self = [super init]; | 20 self = [super init]; |
21 if(!self){ | 21 if(!self){ |
22 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, 0, "%s:%d COULD N
OT CREATE INSTANCE", __FUNCTION__, __LINE__); | 22 WEBRTC_TRACE(kTraceError, kTraceVideoRenderer, 0, "%s:%d COULD N
OT CREATE INSTANCE", __FUNCTION__, __LINE__); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 - (void) dealloc | 79 - (void) dealloc |
80 { | 80 { |
81 [self releaseFullScreen]; | 81 [self releaseFullScreen]; |
82 [super dealloc]; | 82 [super dealloc]; |
83 } | 83 } |
84 | 84 |
85 | 85 |
86 | 86 |
87 @end | 87 @end |
OLD | NEW |