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

Issue 2345283002: aura: Allow platform to choose how it retrieves ICCProfile. (Closed)

Created:
4 years, 3 months ago by sadrul
Modified:
4 years, 3 months ago
Reviewers:
sky
CC:
chromium-reviews, kalyank, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

aura: Allow platform to choose how it retrieves ICCProfile. In mus, the client should get the ICCProfile from the mus server, instead of from the native platform. So get the ICCProfile from a virtual function so that the platform can override it. BUG=647510 Committed: https://crrev.com/a384b41d38cbab98d445c4ee205756a8f7a29f1c Cr-Commit-Position: refs/heads/master@{#419410}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -4 lines) Patch
M ui/aura/window_tree_host.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host.cc View 1 2 chunks +7 lines, -4 lines 0 comments Download
M ui/views/mus/window_tree_host_mus.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/mus/window_tree_host_mus.cc View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
sadrul
4 years, 3 months ago (2016-09-16 16:27:22 UTC) #4
sky
https://codereview.chromium.org/2345283002/diff/1/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/2345283002/diff/1/ui/aura/window_tree_host.h#newcode224 ui/aura/window_tree_host.h:224: virtual gfx::ICCProfile GetICCProfileForCurrentDisplay(); Shouldn't this be protected?
4 years, 3 months ago (2016-09-16 17:30:09 UTC) #7
sadrul
https://codereview.chromium.org/2345283002/diff/1/ui/aura/window_tree_host.h File ui/aura/window_tree_host.h (right): https://codereview.chromium.org/2345283002/diff/1/ui/aura/window_tree_host.h#newcode224 ui/aura/window_tree_host.h:224: virtual gfx::ICCProfile GetICCProfileForCurrentDisplay(); On 2016/09/16 17:30:08, sky wrote: > ...
4 years, 3 months ago (2016-09-16 17:52:17 UTC) #8
sky
But they are overriding it, which seems weird to be private then, no?
4 years, 3 months ago (2016-09-16 18:34:37 UTC) #9
sadrul
On 2016/09/16 18:34:37, sky wrote: > But they are overriding it, which seems weird to ...
4 years, 3 months ago (2016-09-17 01:19:13 UTC) #12
sky
Thanks! LGTM
4 years, 3 months ago (2016-09-18 16:07:10 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2345283002/20001
4 years, 3 months ago (2016-09-19 01:30:16 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-19 02:15:43 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-19 02:17:47 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a384b41d38cbab98d445c4ee205756a8f7a29f1c
Cr-Commit-Position: refs/heads/master@{#419410}

Powered by Google App Engine
This is Rietveld 408576698