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

Side by Side Diff: remoting/host/capturer_mac.cc

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 10 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "remoting/host/capturer_mac.h" 5 #include "remoting/host/capturer_mac.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <OpenGL/CGLMacro.h> 9 #include <OpenGL/CGLMacro.h>
10 10
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 CGDirectDisplayID display, 158 CGDirectDisplayID display,
159 CGDisplayChangeSummaryFlags flags, 159 CGDisplayChangeSummaryFlags flags,
160 void *user_parameter) { 160 void *user_parameter) {
161 if ((display == CGMainDisplayID()) && 161 if ((display == CGMainDisplayID()) &&
162 !(flags & kCGDisplayBeginConfigurationFlag)) { 162 !(flags & kCGDisplayBeginConfigurationFlag)) {
163 CapturerMac *capturer = reinterpret_cast<CapturerMac *>(user_parameter); 163 CapturerMac *capturer = reinterpret_cast<CapturerMac *>(user_parameter);
164 capturer->ScreenConfigurationChanged(); 164 capturer->ScreenConfigurationChanged();
165 } 165 }
166 } 166 }
167 167
168 // static
169 Capturer* Capturer::Create(MessageLoop* message_loop) {
170 return new CapturerMac(message_loop);
171 }
172
168 } // namespace remoting 173 } // namespace remoting
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698