braveyao
7f1583c921
[desktopCapture Windows] ignore Chrome notification window on top
...
Chrome uses Windows native framework to show the notification of the
ongoing presenting. This notification window is enumerated as a
separated window which is on top most. If this window blocks the target
window, Chrome can't do the cropping and has to switch to GDI methods.
If GDI methods can't capture the target window, then capturing will fail
until the notification is dismissed.
It's hard to identify the notification window in EnumWindows() callback.
So far it works if we ignore window with no title and class name
prefixed with "Chrome_WidgetWin_" and with certain extended styles,
as so does in this CL.
Bug: chromium:847664
Change-Id: Iafabcb1f685adb91bf092475642151e1475cdf61
Reviewed-on: https://webrtc-review.googlesource.com/79742
Reviewed-by: Jamie Walch <jamiewalch@chromium.org >
Commit-Queue: Brave Yao <braveyao@webrtc.org >
Cr-Commit-Position: refs/heads/master@{#23474}
2018-05-31 17:07:16 +00:00
..
2018-05-17 18:45:42 +00:00
2018-05-31 17:07:16 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-04-18 00:18:04 +00:00
2017-09-15 18:56:26 +00:00
2017-09-15 18:56:26 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-05-31 17:07:16 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2018-04-10 00:37:59 +00:00
2018-03-29 19:00:58 +00:00
2018-05-17 18:45:42 +00:00
2018-03-29 19:00:58 +00:00
2017-09-15 05:02:56 +00:00
2018-04-10 00:37:59 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 18:56:26 +00:00
2017-09-15 18:56:26 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 13:03:51 +00:00
2018-05-17 18:45:42 +00:00
2018-05-17 18:45:42 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-05-17 18:45:42 +00:00
2017-09-15 05:02:56 +00:00
2018-03-29 19:00:58 +00:00
2018-03-29 19:00:58 +00:00
2018-03-29 19:00:58 +00:00
2018-05-17 18:45:42 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-04-10 00:37:59 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-03-23 19:47:08 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2018-04-13 21:15:59 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-09 11:56:32 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-10-06 13:00:14 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 13:03:51 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2018-05-17 18:45:42 +00:00
2017-09-15 05:02:56 +00:00
2017-10-13 20:34:12 +00:00
2018-05-24 11:17:30 +00:00
2018-04-13 21:15:59 +00:00
2017-11-07 01:49:35 +00:00
2018-05-17 18:45:42 +00:00
2017-11-28 01:21:47 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-09-15 05:02:56 +00:00
2017-11-07 01:49:35 +00:00
2017-11-07 01:49:35 +00:00