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

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

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/ipc_video_frame_capturer.cc ('k') | remoting/host/me2me_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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ME2ME_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "remoting/host/basic_desktop_environment.h" 8 #include "remoting/host/basic_desktop_environment.h"
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class CurtainMode; 12 class CurtainMode;
13 class HostWindow; 13 class HostWindow;
14 class LocalInputMonitor; 14 class LocalInputMonitor;
15 15
16 // Same as BasicDesktopEnvironment but supports desktop resizing and X DAMAGE 16 // Same as BasicDesktopEnvironment but supports desktop resizing and X DAMAGE
17 // notifications on Linux. 17 // notifications on Linux.
18 class Me2MeDesktopEnvironment : public BasicDesktopEnvironment { 18 class Me2MeDesktopEnvironment : public BasicDesktopEnvironment {
19 public: 19 public:
20 virtual ~Me2MeDesktopEnvironment(); 20 virtual ~Me2MeDesktopEnvironment();
21 21
22 // DesktopEnvironment interface. 22 // DesktopEnvironment interface.
23 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; 23 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE;
24 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer() OVERRIDE; 24 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE;
25 25
26 protected: 26 protected:
27 friend class Me2MeDesktopEnvironmentFactory; 27 friend class Me2MeDesktopEnvironmentFactory;
28 Me2MeDesktopEnvironment( 28 Me2MeDesktopEnvironment(
29 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 29 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner);
32 32
33 // Initializes security features of the desktop environment (the curtain mode 33 // Initializes security features of the desktop environment (the curtain mode
34 // and in-session UI). 34 // and in-session UI).
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 private: 72 private:
73 // True if curtain mode is enabled. 73 // True if curtain mode is enabled.
74 bool curtain_enabled_; 74 bool curtain_enabled_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); 76 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory);
77 }; 77 };
78 78
79 } // namespace remoting 79 } // namespace remoting
80 80
81 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ 81 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/ipc_video_frame_capturer.cc ('k') | remoting/host/me2me_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698