OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef REMOTING_HOST_CAPTURER_H_ | 5 #ifndef REMOTING_HOST_CAPTURER_H_ |
6 #define REMOTING_HOST_CAPTURER_H_ | 6 #define REMOTING_HOST_CAPTURER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback_old.h" |
10 #include "remoting/base/capture_data.h" | 10 #include "remoting/base/capture_data.h" |
11 #include "remoting/base/types.h" | 11 #include "remoting/base/types.h" |
12 | 12 |
13 namespace remoting { | 13 namespace remoting { |
14 | 14 |
15 // A class to perform the task of capturing the image of a window. | 15 // A class to perform the task of capturing the image of a window. |
16 // The capture action is asynchronous to allow maximum throughput. | 16 // The capture action is asynchronous to allow maximum throughput. |
17 // | 17 // |
18 // The full capture process is as follows: | 18 // The full capture process is as follows: |
19 // | 19 // |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 // method is called. | 79 // method is called. |
80 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback) = 0; | 80 virtual void CaptureInvalidRects(CaptureCompletedCallback* callback) = 0; |
81 | 81 |
82 // Get the size of the most recently captured screen. | 82 // Get the size of the most recently captured screen. |
83 virtual const gfx::Size& size_most_recent() const = 0; | 83 virtual const gfx::Size& size_most_recent() const = 0; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace remoting | 86 } // namespace remoting |
87 | 87 |
88 #endif // REMOTING_HOST_CAPTURER_H_ | 88 #endif // REMOTING_HOST_CAPTURER_H_ |
OLD | NEW |