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

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: Removed obsolete #include. 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
Index: remoting/host/me2me_desktop_environment.cc
diff --git a/remoting/host/me2me_desktop_environment.cc b/remoting/host/me2me_desktop_environment.cc
index f9f9113f72d1ebf7b73ecabf916873fd39227fda..638de634ac5bc1d35f5520bef829226c80dcb514 100644
--- a/remoting/host/me2me_desktop_environment.cc
+++ b/remoting/host/me2me_desktop_environment.cc
@@ -38,16 +38,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;
}
@@ -60,6 +50,7 @@ Me2MeDesktopEnvironment::Me2MeDesktopEnvironment(
input_task_runner,
ui_task_runner) {
DCHECK(caller_task_runner->BelongsToCurrentThread());
+ desktop_capture_options()->set_use_update_notifications(true);
}
bool Me2MeDesktopEnvironment::InitializeSecurity(

Powered by Google App Engine
This is Rietveld 408576698