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

Side by Side Diff: remoting/host/single_window_desktop_environment.cc

Issue 2495453002: [Chromoting] Remove screen_capturer.h & desktop_capturer.h (Closed)
Patch Set: Include ipc_desktop_environment_unittest.cc Created 4 years, 1 month 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
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/single_window_desktop_environment.h" 5 #include "remoting/host/single_window_desktop_environment.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "remoting/host/single_window_input_injector.h" 13 #include "remoting/host/single_window_input_injector.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" 14 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
15 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h" 15 #include "third_party/webrtc/modules/desktop_capture/desktop_capturer.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 // Enables capturing and streaming of windows. 19 // Enables capturing and streaming of windows.
20 class SingleWindowDesktopEnvironment : public BasicDesktopEnvironment { 20 class SingleWindowDesktopEnvironment : public BasicDesktopEnvironment {
21 21
22 public: 22 public:
23 ~SingleWindowDesktopEnvironment() override; 23 ~SingleWindowDesktopEnvironment() override;
24 24
25 // DesktopEnvironment interface. 25 // DesktopEnvironment interface.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 SingleWindowDesktopEnvironmentFactory::Create( 100 SingleWindowDesktopEnvironmentFactory::Create(
101 base::WeakPtr<ClientSessionControl> client_session_control) { 101 base::WeakPtr<ClientSessionControl> client_session_control) {
102 DCHECK(caller_task_runner()->BelongsToCurrentThread()); 102 DCHECK(caller_task_runner()->BelongsToCurrentThread());
103 103
104 return base::WrapUnique(new SingleWindowDesktopEnvironment( 104 return base::WrapUnique(new SingleWindowDesktopEnvironment(
105 caller_task_runner(), video_capture_task_runner(), input_task_runner(), 105 caller_task_runner(), video_capture_task_runner(), input_task_runner(),
106 ui_task_runner(), window_id_)); 106 ui_task_runner(), window_id_));
107 } 107 }
108 108
109 } // namespace remoting 109 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/me2me_desktop_environment.cc ('k') | remoting/host/win/session_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698