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

Unified Diff: webrtc/modules/desktop_capture/window_capturer.h

Issue 2202883003: Icon Capture For Window Capturer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix windows crash Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/desktop_capture/window_capturer.h
diff --git a/webrtc/modules/desktop_capture/window_capturer.h b/webrtc/modules/desktop_capture/window_capturer.h
index eb9b9feaf04ba97fe4417120da620d2b60096adc..c890ba8abbe8c1a98cf103ebd366bf27cba927aa 100644
--- a/webrtc/modules/desktop_capture/window_capturer.h
+++ b/webrtc/modules/desktop_capture/window_capturer.h
@@ -22,6 +22,7 @@
namespace webrtc {
class DesktopCaptureOptions;
+// class DesktopFrame;
class WindowCapturer : public DesktopCapturer {
public:
@@ -32,6 +33,9 @@ class WindowCapturer : public DesktopCapturer {
// Title of the window in UTF-8 encoding.
std::string title;
+
+ // Icon of the window
+ std::unique_ptr<DesktopFrame> icon;
};
typedef std::vector<Window> WindowList;

Powered by Google App Engine
This is Rietveld 408576698