OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Returns the window area relative to the top left of the virtual screen | 56 // Returns the window area relative to the top left of the virtual screen |
57 // within the bounds of the virtual screen. | 57 // within the bounds of the virtual screen. |
58 virtual DesktopRect GetWindowRectInVirtualScreen() = 0; | 58 virtual DesktopRect GetWindowRectInVirtualScreen() = 0; |
59 | 59 |
60 WindowId selected_window() const { return selected_window_; } | 60 WindowId selected_window() const { return selected_window_; } |
61 WindowId excluded_window() const { return excluded_window_; } | 61 WindowId excluded_window() const { return excluded_window_; } |
62 | 62 |
63 private: | 63 private: |
64 DesktopCaptureOptions options_; | 64 DesktopCaptureOptions options_; |
65 DesktopCapturer::Callback* callback_; | 65 DesktopCapturer::Callback* callback_; |
66 std::unique_ptr<WindowCapturer> window_capturer_; | 66 std::unique_ptr<DesktopCapturer> window_capturer_; |
67 std::unique_ptr<ScreenCapturer> screen_capturer_; | 67 std::unique_ptr<DesktopCapturer> screen_capturer_; |
68 SourceId selected_window_; | 68 SourceId selected_window_; |
69 WindowId excluded_window_; | 69 WindowId excluded_window_; |
70 }; | 70 }; |
71 | 71 |
72 } // namespace webrtc | 72 } // namespace webrtc |
73 | 73 |
74 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_ | 74 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_CROPPING_WINDOW_CAPTURER_H_ |
75 | 75 |
OLD | NEW |