summaryrefslogtreecommitdiffstats
path: root/src/core/web_contents_adapter_client.h
diff options
context:
space:
mode:
authorJüri Valdmann <juri.valdmann@qt.io>2017-05-26 16:27:11 +0200
committerKai Koehne <kai.koehne@qt.io>2017-07-17 06:29:56 +0000
commit69b7942bff3b2fce06aee5ada793fbe46f82bb8c (patch)
tree76e12557b57ecf7a863faf82283a43607e68c415 /src/core/web_contents_adapter_client.h
parent4fafb2c04b671573bd6aabbf293ced84f14f9745 (diff)
Cleanup support for desktop capture
- Use feature permissions system instead of hard-coded dialog. - Add QML test for getUserMedia() and extend existing widgets test. Task-number: QTBUG-60832 Change-Id: I533bed5021b3b0ee199b8abc6ddbd516cbd14ff6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/web_contents_adapter_client.h')
-rw-r--r--src/core/web_contents_adapter_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_contents_adapter_client.h b/src/core/web_contents_adapter_client.h
index 8d75f24b7..8b7365342 100644
--- a/src/core/web_contents_adapter_client.h
+++ b/src/core/web_contents_adapter_client.h
@@ -316,6 +316,8 @@ public:
MediaNone = 0,
MediaAudioCapture = 0x01,
MediaVideoCapture = 0x02,
+ MediaDesktopAudioCapture = 0x04,
+ MediaDesktopVideoCapture = 0x08
};
Q_DECLARE_FLAGS(MediaRequestFlags, MediaRequestFlag)