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 312723003: ui/gfx/color_profile: implement GetDisplayColorProfile on win (Closed)

Created:
6 years, 6 months ago by Noel Gordon
Modified:
6 years, 2 months ago
Reviewers:
sky
CC:
chromium-reviews
Visibility:
Public.

Description

ui/gfx/color_profile: implement GetDisplayColorProfile on win Add a global device color profile cache and use it to extract the color profile associated with screen display devices. TEST=ui_unittests.exe --gtest_filter="ColorProfileTest*" BUG=368694 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276589

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : Add test (win-only for now). #

Patch Set 4 : Minor test name changes. #

Patch Set 5 : Minor code name changes. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -3 lines) Patch
M ui/gfx/color_profile_win.cc View 1 2 3 4 1 chunk +39 lines, -3 lines 0 comments Download
A ui/gfx/color_profile_win_unittest.cc View 1 2 3 4 1 chunk +32 lines, -0 lines 1 comment Download
M ui/ui_unittests.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Noel Gordon
6 years, 6 months ago (2014-06-04 02:31:53 UTC) #1
sky
Is it possible to write test coverage? https://codereview.chromium.org/312723003/diff/1/ui/gfx/color_profile_win.cc File ui/gfx/color_profile_win.cc (right): https://codereview.chromium.org/312723003/diff/1/ui/gfx/color_profile_win.cc#newcode67 ui/gfx/color_profile_win.cc:67: DCHECK(profile->empty()); Can ...
6 years, 6 months ago (2014-06-04 15:29:23 UTC) #2
Noel Gordon
On 2014/06/04 15:29:23, sky wrote: > Is it possible to write test coverage? @ken Do ...
6 years, 6 months ago (2014-06-05 03:55:15 UTC) #3
Noel Gordon
https://codereview.chromium.org/312723003/diff/1/ui/gfx/color_profile_win.cc File ui/gfx/color_profile_win.cc (right): https://codereview.chromium.org/312723003/diff/1/ui/gfx/color_profile_win.cc#newcode67 ui/gfx/color_profile_win.cc:67: DCHECK(profile->empty()); On 2014/06/04 15:29:24, sky wrote: > Can you ...
6 years, 6 months ago (2014-06-05 04:20:03 UTC) #4
Noel Gordon
On 2014/06/05 04:20:03, Noel Gordon (Google) wrote: Ahem, "Think we need to test for valid ...
6 years, 6 months ago (2014-06-05 04:21:11 UTC) #5
Ken Russell (switch to Gerrit)
On 2014/06/05 03:55:15, Noel Gordon (Google) wrote: > On 2014/06/04 15:29:23, sky wrote: > > ...
6 years, 6 months ago (2014-06-05 17:46:47 UTC) #6
Noel Gordon
On 2014/06/05 17:46:47, Ken Russell wrote: > The Win, Mac and Linux bots on the ...
6 years, 6 months ago (2014-06-06 13:11:20 UTC) #7
Noel Gordon
Anything more I need do here?
6 years, 6 months ago (2014-06-10 14:41:11 UTC) #8
sky
https://codereview.chromium.org/312723003/diff/100001/ui/gfx/color_profile_win_unittest.cc File ui/gfx/color_profile_win_unittest.cc (right): https://codereview.chromium.org/312723003/diff/100001/ui/gfx/color_profile_win_unittest.cc#newcode17 ui/gfx/color_profile_win_unittest.cc:17: const gfx::Rect in_screen_bounds(10, 10, 100, 100); How do you ...
6 years, 6 months ago (2014-06-10 15:58:59 UTC) #9
Noel Gordon
The win32 primary screen/desktop origin is (0,0).
6 years, 6 months ago (2014-06-11 02:35:13 UTC) #10
sky
LGTM
6 years, 6 months ago (2014-06-11 15:47:21 UTC) #11
Noel Gordon
The CQ bit was checked by noel@chromium.org
6 years, 6 months ago (2014-06-11 23:17:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noel@chromium.org/312723003/100001
6 years, 6 months ago (2014-06-11 23:18:41 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_rel_device_ninja on tryserver.chromium ...
6 years, 6 months ago (2014-06-12 00:34:17 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-12 00:37:27 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/26362)
6 years, 6 months ago (2014-06-12 00:37:29 UTC) #16
Noel Gordon
The CQ bit was checked by noel@chromium.org
6 years, 6 months ago (2014-06-12 03:12:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/noel@chromium.org/312723003/100001
6 years, 6 months ago (2014-06-12 03:15:48 UTC) #18
commit-bot: I haz the power
Change committed as 276589
6 years, 6 months ago (2014-06-12 08:55:05 UTC) #19
Noel Gordon
6 years, 6 months ago (2014-06-12 10:10:06 UTC) #20
Message was sent while issue was closed.
¯\(ツ)/¯

Powered by Google App Engine
This is Rietveld 408576698