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

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

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix a compile glitch on Windows Created 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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_CAPTURER_LINUX_H_
6 #define REMOTING_HOST_CAPTURER_LINUX_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "remoting/host/capturer.h"
11
12 namespace remoting {
13
14 class CapturerLinuxPimpl;
15
16 // A class to perform capturing for Linux.
17 class CapturerLinux : public Capturer {
18 public:
19 CapturerLinux();
20 virtual ~CapturerLinux();
21
22 // Capturer interface.
23 virtual void ScreenConfigurationChanged();
24 virtual media::VideoFrame::Format pixel_format() const;
25 virtual void ClearInvalidRects();
26 virtual void InvalidateRects(const InvalidRects& inval_rects);
27 virtual void InvalidateScreen(const gfx::Size& size);
28 virtual void InvalidateFullScreen();
29 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback);
30 virtual const gfx::Size& size_most_recent() const;
31
32 private:
33 friend class CapturerLinuxPimpl;
34
35 scoped_ptr<CapturerLinuxPimpl> pimpl_;
36 DISALLOW_COPY_AND_ASSIGN(CapturerLinux);
37 };
38
39 } // namespace remoting
40
41 #endif // REMOTING_HOST_CAPTURER_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698