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

Issue 40163002: Implement GetAllDisplays() for the Mac screen backend (Closed)

Created:
7 years, 2 months ago by Dominik Röttsches
Modified:
7 years, 1 month ago
Reviewers:
johnme, Nico, oshima
CC:
chromium-reviews, oshima
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement GetAllDisplays() for the Mac screen backend Reusing the details of the GetNumDisplays() implementation for returning a vector of available displays. Reusing the existing code for actually generating gfx::Display objects by converting to NSScreen and then calling GetDisplayForScreen to be consistent with the behavior in other parts of this file. BUG=311132 R=oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232955

Patch Set 1 #

Patch Set 2 : Implement GetAllDisplays - fixed comment #

Total comments: 1

Patch Set 3 : Implement GetAllDisplays - map for screen ids #

Total comments: 3

Patch Set 4 : Implement GetAllDisplays() for the Mac screen backend - Rebased, review comments addressed. #

Total comments: 3

Patch Set 5 : Implement GetAllDisplays() - variable naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -13 lines) Patch
M ui/gfx/screen_mac.mm View 1 2 3 4 3 chunks +30 lines, -13 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Dominik Röttsches
7 years, 2 months ago (2013-10-24 13:15:13 UTC) #1
oshima
nico should review mac impl.
7 years, 2 months ago (2013-10-24 15:09:33 UTC) #2
Nico
https://codereview.chromium.org/40163002/diff/30001/ui/gfx/screen_mac.mm File ui/gfx/screen_mac.mm (right): https://codereview.chromium.org/40163002/diff/30001/ui/gfx/screen_mac.mm#newcode131 ui/gfx/screen_mac.mm:131: NSDictionary* screenDeviceDescription = [screen deviceDescription]; Can you build an ...
7 years, 2 months ago (2013-10-24 15:41:27 UTC) #3
Dominik Röttsches
Thanks for your review, Nico. On 2013/10/24 15:41:27, Nico wrote: > https://codereview.chromium.org/40163002/diff/30001/ui/gfx/screen_mac.mm > File ui/gfx/screen_mac.mm ...
7 years, 1 month ago (2013-10-25 13:18:43 UTC) #4
Nico
https://codereview.chromium.org/40163002/diff/110001/ui/gfx/screen_mac.mm File ui/gfx/screen_mac.mm (right): https://codereview.chromium.org/40163002/diff/110001/ui/gfx/screen_mac.mm#newcode122 ui/gfx/screen_mac.mm:122: typedef std::map<int64, NSScreen*> screenIdsToScreensMap; types start with capital letters ...
7 years, 1 month ago (2013-10-25 18:16:48 UTC) #5
Dominik Röttsches
On 2013/10/25 18:16:48, Nico wrote: > https://codereview.chromium.org/40163002/diff/110001/ui/gfx/screen_mac.mm#newcode143 > ui/gfx/screen_mac.mm:143: > displays.push_back(GetDisplayForScreen(foundScreen->second, false)); > Won't one ...
7 years, 1 month ago (2013-10-30 16:47:23 UTC) #6
Nico
Sounds good, ping this once it's rebased. Thanks! On Wed, Oct 30, 2013 at 9:47 ...
7 years, 1 month ago (2013-10-30 17:07:01 UTC) #7
Dominik Röttsches
On 2013/10/30 17:07:01, Nico wrote: > Sounds good, ping this once it's rebased. Thanks! Ready ...
7 years, 1 month ago (2013-11-01 13:33:09 UTC) #8
Nico
lgtm with style issues fixed https://codereview.chromium.org/40163002/diff/180001/ui/gfx/screen_mac.mm File ui/gfx/screen_mac.mm (right): https://codereview.chromium.org/40163002/diff/180001/ui/gfx/screen_mac.mm#newcode124 ui/gfx/screen_mac.mm:124: ScreenIdsToScreensMap screenIdsToScreens; name_variables_like_this_in_chromium_style in ...
7 years, 1 month ago (2013-11-01 21:45:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/40163002/280001
7 years, 1 month ago (2013-11-04 10:35:33 UTC) #10
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=97148
7 years, 1 month ago (2013-11-04 12:52:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/40163002/280001
7 years, 1 month ago (2013-11-04 12:55:49 UTC) #12
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=97199
7 years, 1 month ago (2013-11-04 16:10:00 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/40163002/280001
7 years, 1 month ago (2013-11-05 09:02:51 UTC) #14
commit-bot: I haz the power
7 years, 1 month ago (2013-11-05 13:33:45 UTC) #15
Message was sent while issue was closed.
Change committed as 232955

Powered by Google App Engine
This is Rietveld 408576698