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

Side by Side Diff: remoting/host/fake_desktop_environment.h

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/desktop_session_proxy.cc ('k') | remoting/host/fake_desktop_environment.cc » ('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 #ifndef REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "remoting/host/desktop_environment.h" 8 #include "remoting/host/desktop_environment.h"
9 #include "remoting/host/fake_mouse_cursor_monitor.h"
9 #include "remoting/host/fake_screen_capturer.h" 10 #include "remoting/host/fake_screen_capturer.h"
10 #include "remoting/host/input_injector.h" 11 #include "remoting/host/input_injector.h"
11 #include "remoting/host/screen_controls.h" 12 #include "remoting/host/screen_controls.h"
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 class FakeInputInjector : public InputInjector { 16 class FakeInputInjector : public InputInjector {
16 public: 17 public:
17 FakeInputInjector(); 18 FakeInputInjector();
18 virtual ~FakeInputInjector(); 19 virtual ~FakeInputInjector();
(...skipping 25 matching lines...) Expand all
44 // FakeDesktopEnvironment. 45 // FakeDesktopEnvironment.
45 void set_frame_generator(FakeScreenCapturer::FrameGenerator frame_generator) { 46 void set_frame_generator(FakeScreenCapturer::FrameGenerator frame_generator) {
46 frame_generator_ = frame_generator; 47 frame_generator_ = frame_generator;
47 } 48 }
48 49
49 // DesktopEnvironment implementation. 50 // DesktopEnvironment implementation.
50 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; 51 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE;
51 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; 52 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE;
52 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; 53 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE;
53 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE; 54 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE;
55 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor()
56 OVERRIDE;
54 virtual std::string GetCapabilities() const OVERRIDE; 57 virtual std::string GetCapabilities() const OVERRIDE;
55 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 58 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
56 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( 59 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler(
57 protocol::ClientStub* client_stub) OVERRIDE; 60 protocol::ClientStub* client_stub) OVERRIDE;
58 61
59 private: 62 private:
60 FakeScreenCapturer::FrameGenerator frame_generator_; 63 FakeScreenCapturer::FrameGenerator frame_generator_;
61 64
62 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironment); 65 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironment);
63 }; 66 };
(...skipping 18 matching lines...) Expand all
82 85
83 private: 86 private:
84 FakeScreenCapturer::FrameGenerator frame_generator_; 87 FakeScreenCapturer::FrameGenerator frame_generator_;
85 88
86 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory); 89 DISALLOW_COPY_AND_ASSIGN(FakeDesktopEnvironmentFactory);
87 }; 90 };
88 91
89 } // namespace remoting 92 } // namespace remoting
90 93
91 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_ 94 #endif // REMOTING_HOST_FAKE_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_session_proxy.cc ('k') | remoting/host/fake_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698