Chromium Code Reviews| Index: ui/gfx/screen.h |
| diff --git a/ui/gfx/screen.h b/ui/gfx/screen.h |
| index 1d36d1b51cbefb9bff481219a7bddb6596b6875c..15e66d116012ec63d22fc0dfc224223ec3005663 100644 |
| --- a/ui/gfx/screen.h |
| +++ b/ui/gfx/screen.h |
| @@ -73,6 +73,10 @@ class GFX_EXPORT Screen { |
| // Returns the display nearest the specified window. |
| virtual gfx::Display GetDisplayNearestWindow(NativeView view) const = 0; |
| + // Returns the color profile of the display nearest the window. |
|
Ken Russell (switch to Gerrit)
2014/04/30 17:43:17
Could you add a little more documentation here? Wh
Noel Gordon
2014/04/30 17:51:29
Yeah good point. Would this work for you?
// Ret
Ken Russell (switch to Gerrit)
2014/04/30 17:52:02
Sounds good.
Noel Gordon
2014/05/01 05:24:55
Done.
|
| + virtual bool GetDisplayColorProfile( |
| + NativeView view, std::vector<char>* color_profile) const = 0; |
|
oshima
2014/04/30 18:18:53
Can you define a class (or struct) for color profi
Noel Gordon
2014/05/01 05:52:21
Yes I think that'd be overkill. At this level of
Noel Gordon
2014/05/01 07:33:24
Good question.
Yeap, difficult. gfx::Display is n
|
| + |
| // Returns the display nearest the specified point. |
| virtual gfx::Display GetDisplayNearestPoint( |
| const gfx::Point& point) const = 0; |