OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ | 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ |
12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ | 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "webrtc/base/scoped_ptr.h" | |
17 #include "webrtc/modules/desktop_capture/desktop_capture_types.h" | 16 #include "webrtc/modules/desktop_capture/desktop_capture_types.h" |
18 #include "webrtc/modules/desktop_capture/desktop_capturer.h" | 17 #include "webrtc/modules/desktop_capture/desktop_capturer.h" |
19 #include "webrtc/typedefs.h" | 18 #include "webrtc/typedefs.h" |
20 | 19 |
21 namespace webrtc { | 20 namespace webrtc { |
22 | 21 |
23 class DesktopCaptureOptions; | 22 class DesktopCaptureOptions; |
24 | 23 |
25 // Class used to capture video frames asynchronously. | 24 // Class used to capture video frames asynchronously. |
26 // | 25 // |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 83 |
85 // Select the screen to be captured. Returns false in case of a failure (e.g. | 84 // Select the screen to be captured. Returns false in case of a failure (e.g. |
86 // if there is no screen with the specified id). If this is never called, the | 85 // if there is no screen with the specified id). If this is never called, the |
87 // full desktop is captured. | 86 // full desktop is captured. |
88 virtual bool SelectScreen(ScreenId id) = 0; | 87 virtual bool SelectScreen(ScreenId id) = 0; |
89 }; | 88 }; |
90 | 89 |
91 } // namespace webrtc | 90 } // namespace webrtc |
92 | 91 |
93 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ | 92 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_SCREEN_CAPTURER_H_ |
OLD | NEW |