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

Issue 2452263003: Add DesktopCapturer GetSourceList SelectSource FocusOnSelectedSource functions (Closed)

Created:
4 years, 1 month ago by Hzj_jie
Modified:
4 years, 1 month ago
Reviewers:
Sergey Ulanov
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Jamie
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add DesktopCapturer GetSourceList SelectSource FocusOnSelectedSource functions I have chosen part of 2435603010 changes to compose this change. According to the discussion we have made in previous change, this CL contains, 1. Source structure to represent a source of a DesktopCapturer. 2. GetSourceList / SelectSource / FocusOnSelectedSource functions in DesktopCapturer. 3. ScreenCapturer and WindowCapturer forward corresponding functions to the new DesktopCapturer APIs. After this change, We can remove WindowCapturer & ScreenCapturer references from Chromium, and use the new APIs. BUG=webrtc:6513 Committed: https://crrev.com/9cb0b3b4ac916cdf52d97a63d923dfbe73f0541e Committed: https://crrev.com/b68d655f368e4f99295bad493db922cd25a5af57 Cr-Original-Commit-Position: refs/heads/master@{#14830} Cr-Commit-Position: refs/heads/master@{#14832}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Resolve review comments #

Total comments: 4

Patch Set 3 : Resolve review comments #

Patch Set 4 : Fix build break on Chromium #

Unified diffs Side-by-side diffs Delta from patch set Stats (+218 lines, -11 lines) Patch
M webrtc/modules/desktop_capture/BUILD.gn View 3 chunks +3 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/desktop_capture.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/desktop_capturer.h View 1 2 5 chunks +38 lines, -3 lines 0 comments Download
A webrtc/modules/desktop_capture/desktop_capturer.cc View 1 1 chunk +37 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/screen_capturer.h View 1 2 2 chunks +10 lines, -3 lines 0 comments Download
A webrtc/modules/desktop_capture/screen_capturer.cc View 1 1 chunk +53 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/window_capturer.h View 1 3 2 chunks +14 lines, -4 lines 0 comments Download
A webrtc/modules/desktop_capture/window_capturer.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
M webrtc/modules/desktop_capture/window_capturer_win.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 28 (16 generated)
Hzj_jie
4 years, 1 month ago (2016-10-28 00:37:18 UTC) #5
Sergey Ulanov
Looks good, but I don't think we need to distinguish between windows and screens in ...
4 years, 1 month ago (2016-10-28 15:53:22 UTC) #6
Hzj_jie
https://codereview.webrtc.org/2452263003/diff/40001/webrtc/modules/desktop_capture/desktop_capturer.cc File webrtc/modules/desktop_capture/desktop_capturer.cc (right): https://codereview.webrtc.org/2452263003/diff/40001/webrtc/modules/desktop_capture/desktop_capturer.cc#newcode54 webrtc/modules/desktop_capture/desktop_capturer.cc:54: // MSVC and android-g++ does not support C99 structure ...
4 years, 1 month ago (2016-10-28 22:03:53 UTC) #10
Sergey Ulanov
lgtm https://codereview.webrtc.org/2452263003/diff/100001/webrtc/modules/desktop_capture/desktop_capturer.h File webrtc/modules/desktop_capture/desktop_capturer.h (right): https://codereview.webrtc.org/2452263003/diff/100001/webrtc/modules/desktop_capture/desktop_capturer.h#newcode65 webrtc/modules/desktop_capture/desktop_capturer.h:65: // Title of the window or screen in ...
4 years, 1 month ago (2016-10-28 23:08:16 UTC) #11
Hzj_jie
https://codereview.webrtc.org/2452263003/diff/100001/webrtc/modules/desktop_capture/desktop_capturer.h File webrtc/modules/desktop_capture/desktop_capturer.h (right): https://codereview.webrtc.org/2452263003/diff/100001/webrtc/modules/desktop_capture/desktop_capturer.h#newcode65 webrtc/modules/desktop_capture/desktop_capturer.h:65: // Title of the window or screen in UTF-8 ...
4 years, 1 month ago (2016-10-29 00:04:57 UTC) #12
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/2452263003/120001
4 years, 1 month ago (2016-10-29 00:05:15 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:120001)
4 years, 1 month ago (2016-10-29 00:06:55 UTC) #17
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9cb0b3b4ac916cdf52d97a63d923dfbe73f0541e Cr-Commit-Position: refs/heads/master@{#14830}
4 years, 1 month ago (2016-10-29 00:07:07 UTC) #19
Hzj_jie
A revert of this CL (patchset #3 id:120001) has been created in https://codereview.chromium.org/2464553002/ by zijiehe@chromium.org. ...
4 years, 1 month ago (2016-10-29 00:14:01 UTC) #20
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/2452263003/140001
4 years, 1 month ago (2016-10-29 00:32:56 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 1 month ago (2016-10-29 00:35:14 UTC) #26
commit-bot: I haz the power
4 years, 1 month ago (2016-10-29 00:35:21 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b68d655f368e4f99295bad493db922cd25a5af57
Cr-Commit-Position: refs/heads/master@{#14832}

Powered by Google App Engine
This is Rietveld 408576698