Chromium Code Reviews| 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_DESKTOP_CAPTURER_H_ | 11 #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ |
| 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ | 12 #define WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ |
| 13 | 13 |
| 14 #include <stddef.h> | 14 #include <stddef.h> |
| 15 | 15 |
| 16 #include <memory> | 16 #include <memory> |
| 17 | 17 |
| 18 #include "webrtc/base/checks.h" | |
|
Sergey Ulanov
2016/08/06 01:27:56
I don't think you need this.
Hzj_jie
2016/08/08 00:16:07
Done.
| |
| 18 #include "webrtc/modules/desktop_capture/desktop_frame.h" | 19 #include "webrtc/modules/desktop_capture/desktop_frame.h" |
| 19 #include "webrtc/modules/desktop_capture/desktop_capture_types.h" | 20 #include "webrtc/modules/desktop_capture/desktop_capture_types.h" |
| 20 #include "webrtc/modules/desktop_capture/shared_memory.h" | 21 #include "webrtc/modules/desktop_capture/shared_memory.h" |
| 21 | 22 |
| 22 namespace webrtc { | 23 namespace webrtc { |
| 23 | 24 |
| 24 class DesktopFrame; | 25 class DesktopFrame; |
| 25 | 26 |
| 26 // Abstract interface for screen and window capturers. | 27 // Abstract interface for screen and window capturers. |
| 27 class DesktopCapturer { | 28 class DesktopCapturer { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 77 // Sets the window to be excluded from the captured image in the future | 78 // Sets the window to be excluded from the captured image in the future |
| 78 // Capture calls. Used to exclude the screenshare notification window for | 79 // Capture calls. Used to exclude the screenshare notification window for |
| 79 // screen capturing. | 80 // screen capturing. |
| 80 virtual void SetExcludedWindow(WindowId window) {} | 81 virtual void SetExcludedWindow(WindowId window) {} |
| 81 }; | 82 }; |
| 82 | 83 |
| 83 } // namespace webrtc | 84 } // namespace webrtc |
| 84 | 85 |
| 85 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ | 86 #endif // WEBRTC_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURER_H_ |
| 86 | 87 |
| OLD | NEW |