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

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

Issue 83183007: Add DesktopShapeTracker with implementation for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | « no previous file | remoting/host/desktop_shape_tracker_mac.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 (c) 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/memory/scoped_ptr.h"
9
10 namespace webrtc {
11 class DesktopCaptureOptions;
12 class DesktopRegion;
13 } // namespace webrtc
14
15 namespace remoting {
16
17 // Tracks changes in the area of the desktop that is occupied by windows.
18 class DesktopShapeTracker {
19 public:
20 static scoped_ptr<DesktopShapeTracker> Create(
21 webrtc::DesktopCaptureOptions options);
22
23 DesktopShapeTracker() {}
24 virtual ~DesktopShapeTracker() {}
25
26 // Recalculates the desktop shape, as returned by desktop_shape();
27 virtual void RefreshDesktopShape() = 0;
28
29 // Returns a reference to the most recently capture desktop shape.
30 virtual const webrtc::DesktopRegion& desktop_shape() = 0;
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(DesktopShapeTracker);
34 };
35
36 } // namespace remoting
37
38 #endif // REMOTING_HOST_DESKTOP_SHAPE_TRACKER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/desktop_shape_tracker_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698