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

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

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
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 "base/logging.h" 7 #include "base/logging.h"
8 #include "base/single_thread_task_runner.h" 8 #include "base/single_thread_task_runner.h"
9 #include "remoting/host/single_window_input_injector.h" 9 #include "remoting/host/single_window_input_injector.h"
10 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h" 10 #include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
11 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h" 11 #include "third_party/webrtc/modules/desktop_capture/window_capturer.h"
12 12
13 namespace remoting { 13 namespace remoting {
14 14
15 // Enables capturing and streaming of windows. 15 // Enables capturing and streaming of windows.
16 class SingleWindowDesktopEnvironment : public BasicDesktopEnvironment { 16 class SingleWindowDesktopEnvironment : public BasicDesktopEnvironment {
17 17
18 public: 18 public:
19 virtual ~SingleWindowDesktopEnvironment(); 19 virtual ~SingleWindowDesktopEnvironment();
20 20
21 // DesktopEnvironment interface. 21 // DesktopEnvironment interface.
22 virtual scoped_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() OVERRIDE; 22 virtual scoped_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override;
23 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; 23 virtual scoped_ptr<InputInjector> CreateInputInjector() override;
24 24
25 protected: 25 protected:
26 friend class SingleWindowDesktopEnvironmentFactory; 26 friend class SingleWindowDesktopEnvironmentFactory;
27 SingleWindowDesktopEnvironment( 27 SingleWindowDesktopEnvironment(
28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
29 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 29 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, 30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
31 webrtc::WindowId window_id); 31 webrtc::WindowId window_id);
32 32
33 private: 33 private:
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 scoped_ptr<SingleWindowDesktopEnvironment> desktop_environment( 98 scoped_ptr<SingleWindowDesktopEnvironment> desktop_environment(
99 new SingleWindowDesktopEnvironment(caller_task_runner(), 99 new SingleWindowDesktopEnvironment(caller_task_runner(),
100 input_task_runner(), 100 input_task_runner(),
101 ui_task_runner(), 101 ui_task_runner(),
102 window_id_)); 102 window_id_));
103 return desktop_environment.Pass(); 103 return desktop_environment.Pass();
104 } 104 }
105 105
106 } // namespace remoting 106 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/single_window_desktop_environment.h ('k') | remoting/host/single_window_input_injector_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698