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

Issue 12221103: Fix ScreenCapturerMac handling of secondary configurations. (Closed)

Created:
7 years, 10 months ago by Wez
Modified:
7 years, 10 months ago
Reviewers:
Sergey Ulanov, Jamie
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, dcaiafa+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, sail+watch_chromium.org, garykac+watch_chromium.org, feature-media-reviews_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Fix ScreenCapturerMac handling of secondary display configurations. - Fix bugs in translating capture regions into display coordinates. - Fix MacDeskopConfiguration to support inverse-Cartesian coordinates. BUG=175261, 174090 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181885

Patch Set 1 #

Total comments: 13

Patch Set 2 : Update comments. #

Total comments: 3

Patch Set 3 : Review nits. #

Total comments: 1

Patch Set 4 : Improve comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -25 lines) Patch
M media/video/capture/screen/mac/desktop_configuration.h View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M media/video/capture/screen/mac/desktop_configuration.mm View 1 2 3 3 chunks +34 lines, -12 lines 0 comments Download
M media/video/capture/screen/screen_capturer_mac.mm View 4 chunks +5 lines, -6 lines 0 comments Download
M remoting/host/event_executor_mac.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
Wez
PTAL
7 years, 10 months ago (2013-02-09 02:01:01 UTC) #1
Wez
+sergeyu@ for media/../screen/ OWNERS.
7 years, 10 months ago (2013-02-09 02:16:39 UTC) #2
Wez
On 2013/02/09 02:16:39, Wez wrote: > +sergeyu@ for media/../screen/ OWNERS. Ping.
7 years, 10 months ago (2013-02-11 21:49:38 UTC) #3
Jamie
https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm File media/video/capture/screen/mac/desktop_configuration.mm (right): https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm#newcode33 media/video/capture/screen/mac/desktop_configuration.mm:33: // the specified |reference| coordinates. It's not clear to ...
7 years, 10 months ago (2013-02-11 22:12:44 UTC) #4
Wez
https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm File media/video/capture/screen/mac/desktop_configuration.mm (right): https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm#newcode33 media/video/capture/screen/mac/desktop_configuration.mm:33: // the specified |reference| coordinates. On 2013/02/11 22:12:44, Jamie ...
7 years, 10 months ago (2013-02-11 22:56:11 UTC) #5
Sergey Ulanov
https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.h File media/video/capture/screen/mac/desktop_configuration.h (right): https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.h#newcode45 media/video/capture/screen/mac/desktop_configuration.h:45: enum Origin { BottomLeftOrigin, TopLeftOrigin }; nit: types should ...
7 years, 10 months ago (2013-02-11 22:57:20 UTC) #6
Wez
https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.h File media/video/capture/screen/mac/desktop_configuration.h (right): https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.h#newcode45 media/video/capture/screen/mac/desktop_configuration.h:45: enum Origin { BottomLeftOrigin, TopLeftOrigin }; On 2013/02/11 22:57:20, ...
7 years, 10 months ago (2013-02-11 23:12:03 UTC) #7
Wez
https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.h File media/video/capture/screen/mac/desktop_configuration.h (right): https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.h#newcode46 media/video/capture/screen/mac/desktop_configuration.h:46: MEDIA_EXPORT static MacDesktopConfiguration GetCurrent(Origin origin); On 2013/02/11 22:57:20, sergeyu ...
7 years, 10 months ago (2013-02-11 23:14:45 UTC) #8
Sergey Ulanov
lgtm https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm File media/video/capture/screen/mac/desktop_configuration.mm (right): https://chromiumcodereview.appspot.com/12221103/diff/1/media/video/capture/screen/mac/desktop_configuration.mm#newcode110 media/video/capture/screen/mac/desktop_configuration.mm:110: InvertRectYOrigin(desktop_config.displays[0].bounds, On 2013/02/11 23:12:03, Wez wrote: > On ...
7 years, 10 months ago (2013-02-11 23:16:02 UTC) #9
Sergey Ulanov
On Mon, Feb 11, 2013 at 3:14 PM, <wez@chromium.org> wrote: > > https://chromiumcodereview.**appspot.com/12221103/diff/** > 7001/media/video/capture/**screen/mac/desktop_**configuration.h<https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.h> ...
7 years, 10 months ago (2013-02-11 23:18:58 UTC) #10
Jamie
lgtm https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.mm File media/video/capture/screen/mac/desktop_configuration.mm (right): https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.mm#newcode38 media/video/capture/screen/mac/desktop_configuration.mm:38: rect->width(), rect->height()); As discussed, please remove top() from ...
7 years, 10 months ago (2013-02-11 23:56:15 UTC) #11
Wez
On 2013/02/11 23:56:15, Jamie wrote: > lgtm > > https://chromiumcodereview.appspot.com/12221103/diff/7001/media/video/capture/screen/mac/desktop_configuration.mm > File media/video/capture/screen/mac/desktop_configuration.mm (right): > ...
7 years, 10 months ago (2013-02-12 01:38:53 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/12221103/5002
7 years, 10 months ago (2013-02-12 01:41:07 UTC) #13
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 06:34:52 UTC) #14
Message was sent while issue was closed.
Change committed as 181885

Powered by Google App Engine
This is Rietveld 408576698