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

Side by Side Diff: webrtc/modules/video_render/ios/video_render_ios_impl.mm

Issue 1813173002: Deletes the class VideoRendererCallback. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase, and tweak of DEPS files. Created 4 years, 9 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 (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 CriticalSectionScoped cs(crit_sec_); 53 CriticalSectionScoped cs(crit_sec_);
54 if (window == NULL) { 54 if (window == NULL) {
55 return -1; 55 return -1;
56 } 56 }
57 57
58 ptr_window_ = window; 58 ptr_window_ = window;
59 59
60 return ptr_ios_render_->ChangeWindow(ptr_window_); 60 return ptr_ios_render_->ChangeWindow(ptr_window_);
61 } 61 }
62 62
63 VideoRenderCallback* VideoRenderIosImpl::AddIncomingRenderStream( 63 rtc::VideoSinkInterface<VideoFrame>* VideoRenderIosImpl::AddIncomingRenderStream (
64 const uint32_t stream_id, 64 const uint32_t stream_id,
65 const uint32_t z_order, 65 const uint32_t z_order,
66 const float left, 66 const float left,
67 const float top, 67 const float top,
68 const float right, 68 const float right,
69 const float bottom) { 69 const float bottom) {
70 CriticalSectionScoped cs(crit_sec_); 70 CriticalSectionScoped cs(crit_sec_);
71 if (!ptr_window_) { 71 if (!ptr_window_) {
72 return NULL; 72 return NULL;
73 } 73 }
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 const float left, 161 const float left,
162 const float top, 162 const float top,
163 const float right, 163 const float right,
164 const float bottom) { 164 const float bottom) {
165 IOS_UNSUPPORTED(); 165 IOS_UNSUPPORTED();
166 } 166 }
167 167
168 int32_t VideoRenderIosImpl::FullScreenRender(void* window, const bool enable) { 168 int32_t VideoRenderIosImpl::FullScreenRender(void* window, const bool enable) {
169 IOS_UNSUPPORTED(); 169 IOS_UNSUPPORTED();
170 } 170 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698