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

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

Issue 1827043004: Remove shaped desktop support from remoting host and client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/desktop_shape_tracker_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_DESKTOP_SHAPE_TRACKER_H_
6 #define REMOTING_HOST_DESKTOP_SHAPE_TRACKER_H_
7
8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
10
11 namespace webrtc {
12 class DesktopCaptureOptions;
13 class DesktopRegion;
14 } // namespace webrtc
15
16 namespace remoting {
17
18 // Tracks changes in the area of the desktop that is occupied by windows.
19 class DesktopShapeTracker {
20 public:
21 static scoped_ptr<DesktopShapeTracker> Create(
22 webrtc::DesktopCaptureOptions options);
23
24 DesktopShapeTracker() {}
25 virtual ~DesktopShapeTracker() {}
26
27 // Recalculates the desktop shape, as returned by desktop_shape();
28 virtual void RefreshDesktopShape() = 0;
29
30 // Returns a reference to the most recently capture desktop shape.
31 virtual const webrtc::DesktopRegion& desktop_shape() = 0;
32
33 private:
34 DISALLOW_COPY_AND_ASSIGN(DesktopShapeTracker);
35 };
36
37 } // namespace remoting
38
39 #endif // REMOTING_HOST_DESKTOP_SHAPE_TRACKER_H_
OLDNEW
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/desktop_shape_tracker_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698