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

Unified Diff: trunk/src/remoting/host/me2me_desktop_environment.cc

Issue 151163002: Revert 248045 "Use webrtc::MouseCursorMonitor for cursor shapes" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « trunk/src/remoting/host/me2me_desktop_environment.h ('k') | trunk/src/remoting/host/video_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/host/me2me_desktop_environment.cc
===================================================================
--- trunk/src/remoting/host/me2me_desktop_environment.cc (revision 248137)
+++ trunk/src/remoting/host/me2me_desktop_environment.cc (working copy)
@@ -38,6 +38,16 @@
new ResizingHostObserver(DesktopResizer::Create()));
}
+scoped_ptr<webrtc::ScreenCapturer>
+Me2MeDesktopEnvironment::CreateVideoCapturer() {
+ DCHECK(caller_task_runner()->BelongsToCurrentThread());
+ webrtc::DesktopCaptureOptions options =
+ webrtc::DesktopCaptureOptions::CreateDefault();
+ options.set_use_update_notifications(true);
+ return scoped_ptr<webrtc::ScreenCapturer>(
+ webrtc::ScreenCapturer::Create(options));
+}
+
std::string Me2MeDesktopEnvironment::GetCapabilities() const {
return kRateLimitResizeRequests;
}
@@ -50,7 +60,6 @@
input_task_runner,
ui_task_runner) {
DCHECK(caller_task_runner->BelongsToCurrentThread());
- desktop_capture_options()->set_use_update_notifications(true);
}
bool Me2MeDesktopEnvironment::InitializeSecurity(
« no previous file with comments | « trunk/src/remoting/host/me2me_desktop_environment.h ('k') | trunk/src/remoting/host/video_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698