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

Unified Diff: remoting/host/me2me_desktop_environment.cc

Issue 92473002: Use webrtc::MouseCursorMonitor for cursor shapes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux build Created 6 years, 4 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 | « remoting/host/me2me_desktop_environment.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/me2me_desktop_environment.cc
diff --git a/remoting/host/me2me_desktop_environment.cc b/remoting/host/me2me_desktop_environment.cc
index abf9a99c953073bfd783e497ae152f328301ac6c..e6f5fdca93de8465c7fd6840f4d53d3bbe4febdf 100644
--- a/remoting/host/me2me_desktop_environment.cc
+++ b/remoting/host/me2me_desktop_environment.cc
@@ -40,16 +40,6 @@ scoped_ptr<ScreenControls> Me2MeDesktopEnvironment::CreateScreenControls() {
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;
}
@@ -63,6 +53,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
ui_task_runner),
gnubby_auth_enabled_(false) {
DCHECK(caller_task_runner->BelongsToCurrentThread());
+ desktop_capture_options()->set_use_update_notifications(true);
}
scoped_ptr<GnubbyAuthHandler> Me2MeDesktopEnvironment::CreateGnubbyAuthHandler(
« no previous file with comments | « remoting/host/me2me_desktop_environment.h ('k') | remoting/host/video_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698