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

Issue 849523003: ui/gfx/color_profile: Add GetDisplayColorProfile for an NSWindow (Closed)

Created:
5 years, 11 months ago by Noel Gordon
Modified:
5 years, 10 months ago
Reviewers:
Robert Sesek, Nico
CC:
chromium-reviews, oshima, sky, Ken Russell (switch to Gerrit), ccameron
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ui/gfx/color_profile: Add GetDisplayColorProfile for an NSWindow Add a GetDisplayColorProfile variant on Mac to return the display color profile associated with a native window (NSWindow). Add unit tests for on-screen, partially-on-screen, off-screen and empty and null windows. Note an sRGB color profile is a common case, especially on win32, so GetDisplayColorProfile returns true and an empty color profile in that case. Add a header file comment about that. TEST=gfx_unittests --gtest_filter="ColorProfileTest*Window" BUG=368694 Committed: https://crrev.com/fc43a71f7e178e7a1bd6c97b3841984949c3e381 Cr-Commit-Position: refs/heads/master@{#313601}

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -2 lines) Patch
M ui/gfx/color_profile.h View 2 chunks +9 lines, -0 lines 0 comments Download
M ui/gfx/color_profile.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/gfx/color_profile_mac.mm View 1 chunk +18 lines, -0 lines 0 comments Download
M ui/gfx/color_profile_mac_unittest.mm View 1 chunk +45 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
Noel Gordon
5 years, 11 months ago (2015-01-19 13:29:44 UTC) #3
Robert Sesek
Is this just a convenience function? Can't this also be accomplished using [NSWindow frame] and ...
5 years, 11 months ago (2015-01-20 17:03:39 UTC) #4
Noel Gordon
> Is this just a convenience function? Can't this also be > accomplished using [NSWindow ...
5 years, 11 months ago (2015-01-22 16:26:57 UTC) #5
Robert Sesek
On 2015/01/22 16:26:57, noel gordon wrote: > > Is this just a convenience function? Can't ...
5 years, 11 months ago (2015-01-23 14:30:47 UTC) #6
Noel Gordon
On 2015/01/23 14:30:47, Robert Sesek wrote: > On 2015/01/22 16:26:57, noel gordon wrote: > > ...
5 years, 11 months ago (2015-01-24 01:11:08 UTC) #7
Noel Gordon
On 2015/01/24 01:11:08, noel gordon wrote: > Think the tests added here would be run ...
5 years, 11 months ago (2015-01-24 14:27:59 UTC) #8
Robert Sesek
On 2015/01/24 01:11:08, noel gordon wrote: > On 2015/01/23 14:30:47, Robert Sesek wrote: > > ...
5 years, 11 months ago (2015-01-26 16:48:06 UTC) #9
Noel Gordon
On 2015/01/26 16:48:06, Robert Sesek wrote: > Why add code that needs to be removed ...
5 years, 11 months ago (2015-01-27 06:01:43 UTC) #10
Noel Gordon
On 2015/01/26 16:48:06, Robert Sesek wrote: > > Noel wrote: > > Puppet has not ...
5 years, 11 months ago (2015-01-27 06:07:38 UTC) #11
Robert Sesek
LGTM On 2015/01/27 06:07:38, noel gordon wrote: > On 2015/01/26 16:48:06, Robert Sesek wrote: > ...
5 years, 11 months ago (2015-01-27 20:38:30 UTC) #12
Noel Gordon
On 2015/01/27 20:38:30, Robert Sesek wrote: > > http://arstechnica.com/apple/2013/10/os-x-10-9/11/#multiple-displays > > Ah it's in my ...
5 years, 11 months ago (2015-01-27 23:53:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/849523003/40001
5 years, 11 months ago (2015-01-27 23:54:28 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38753)
5 years, 11 months ago (2015-01-28 00:02:26 UTC) #17
Noel Gordon
+sky for OWNERS
5 years, 11 months ago (2015-01-28 00:04:05 UTC) #18
Noel Gordon
5 years, 11 months ago (2015-01-28 00:04:23 UTC) #20
sky
sky->thakis (he is an owner and knows mac)
5 years, 10 months ago (2015-01-28 20:54:49 UTC) #22
Nico
lgtm (somewhat stampy, since rsesek reviewed already)
5 years, 10 months ago (2015-01-28 21:08:27 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/849523003/40001
5 years, 10 months ago (2015-01-28 22:50:08 UTC) #25
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 10 months ago (2015-01-28 22:55:01 UTC) #26
commit-bot: I haz the power
5 years, 10 months ago (2015-01-28 22:57:35 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fc43a71f7e178e7a1bd6c97b3841984949c3e381
Cr-Commit-Position: refs/heads/master@{#313601}

Powered by Google App Engine
This is Rietveld 408576698