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

Side by Side Diff: remoting/host/fake_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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/fake_desktop_environment.h ('k') | remoting/host/fake_mouse_cursor_monitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/fake_desktop_environment.h" 5 #include "remoting/host/fake_desktop_environment.h"
6 6
7 #include "remoting/host/audio_capturer.h" 7 #include "remoting/host/audio_capturer.h"
8 #include "remoting/host/fake_screen_capturer.h" 8 #include "remoting/host/fake_screen_capturer.h"
9 #include "remoting/host/gnubby_auth_handler.h" 9 #include "remoting/host/gnubby_auth_handler.h"
10 #include "remoting/host/input_injector.h" 10 #include "remoting/host/input_injector.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 } 56 }
57 57
58 scoped_ptr<webrtc::ScreenCapturer> 58 scoped_ptr<webrtc::ScreenCapturer>
59 FakeDesktopEnvironment::CreateVideoCapturer() { 59 FakeDesktopEnvironment::CreateVideoCapturer() {
60 scoped_ptr<FakeScreenCapturer> result(new FakeScreenCapturer()); 60 scoped_ptr<FakeScreenCapturer> result(new FakeScreenCapturer());
61 if (!frame_generator_.is_null()) 61 if (!frame_generator_.is_null())
62 result->set_frame_generator(frame_generator_); 62 result->set_frame_generator(frame_generator_);
63 return result.PassAs<webrtc::ScreenCapturer>(); 63 return result.PassAs<webrtc::ScreenCapturer>();
64 } 64 }
65 65
66 scoped_ptr<webrtc::MouseCursorMonitor>
67 FakeDesktopEnvironment::CreateMouseCursorMonitor() {
68 return scoped_ptr<webrtc::MouseCursorMonitor>(new FakeMouseCursorMonitor());
69 }
70
66 std::string FakeDesktopEnvironment::GetCapabilities() const { 71 std::string FakeDesktopEnvironment::GetCapabilities() const {
67 return std::string(); 72 return std::string();
68 } 73 }
69 74
70 void FakeDesktopEnvironment::SetCapabilities(const std::string& capabilities) {} 75 void FakeDesktopEnvironment::SetCapabilities(const std::string& capabilities) {}
71 76
72 scoped_ptr<GnubbyAuthHandler> FakeDesktopEnvironment::CreateGnubbyAuthHandler( 77 scoped_ptr<GnubbyAuthHandler> FakeDesktopEnvironment::CreateGnubbyAuthHandler(
73 protocol::ClientStub* client_stub) { 78 protocol::ClientStub* client_stub) {
74 return scoped_ptr<GnubbyAuthHandler>(); 79 return scoped_ptr<GnubbyAuthHandler>();
75 } 80 }
(...skipping 12 matching lines...) Expand all
88 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {} 93 void FakeDesktopEnvironmentFactory::SetEnableCurtaining(bool enable) {}
89 94
90 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const { 95 bool FakeDesktopEnvironmentFactory::SupportsAudioCapture() const {
91 return false; 96 return false;
92 } 97 }
93 98
94 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {} 99 void FakeDesktopEnvironmentFactory::SetEnableGnubbyAuth(bool enable) {}
95 100
96 101
97 } // namespace remoting 102 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/fake_desktop_environment.h ('k') | remoting/host/fake_mouse_cursor_monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698