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

Issue 2997493002: desktopCapture: minimized window shouldn't be treated as on-top on Win10 (Closed)

Created:
3 years, 4 months ago by braveyao1
Modified:
3 years, 4 months ago
Reviewers:
Hzj_jie
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

desktopCapture: minimized window shouldn't be treated as on-top on Win10 During window capture on Windows 10, if the selected window is minimized, ShouldUseScreenCapturer() still thinks it's on top and continue to do a screencapture which is meaningless. This cl will set |.is_top_window| with false to minimized window,then we can skip doing any capture to it. BUG=chromium:568835 Review-Url: https://codereview.webrtc.org/2997493002 Cr-Commit-Position: refs/heads/master@{#19276} Committed: https://chromium.googlesource.com/external/webrtc/+/b2b803cb74168d1a94a072534d103cab6d6dd199

Patch Set 1 #

Total comments: 1

Patch Set 2 : address comments #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -27 lines) Patch
M webrtc/modules/desktop_capture/cropping_window_capturer_win.cc View 1 2 5 chunks +29 lines, -27 lines 0 comments Download

Messages

Total messages: 23 (15 generated)
braveyao1
Hi zijie, Sorry for not verifying my previous cl on Win10. Currently we'll do screen ...
3 years, 4 months ago (2017-08-04 22:19:42 UTC) #6
Hzj_jie
https://codereview.webrtc.org/2997493002/diff/1/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc File webrtc/modules/desktop_capture/cropping_window_capturer_win.cc (right): https://codereview.webrtc.org/2997493002/diff/1/webrtc/modules/desktop_capture/cropping_window_capturer_win.cc#newcode55 webrtc/modules/desktop_capture/cropping_window_capturer_win.cc:55: if (hwnd == context->selected_window) { After this change, unnecessary ...
3 years, 4 months ago (2017-08-07 19:28:29 UTC) #7
braveyao1
Apparently I didn't understand the codes thoroughly... Thanks so much for the suggestions! All addressed. ...
3 years, 4 months ago (2017-08-08 16:39:26 UTC) #12
Hzj_jie
The change lgtm. Please verify if it works as expected before submitting. Thank you for ...
3 years, 4 months ago (2017-08-08 17:53:39 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2997493002/20001
3 years, 4 months ago (2017-08-08 18:01:50 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/19933)
3 years, 4 months ago (2017-08-08 18:06:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2997493002/40001
3 years, 4 months ago (2017-08-08 19:24:30 UTC) #20
commit-bot: I haz the power
3 years, 4 months ago (2017-08-08 20:30:23 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/b2b803cb74168d1a94a072534...

Powered by Google App Engine
This is Rietveld 408576698