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

Unified Diff: ui/gfx/screen.h

Issue 263643004: Teach gfx::Screen about color profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mojo movers [sky]. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/test/test_screen.cc ('k') | ui/gfx/screen_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen.h
diff --git a/ui/gfx/screen.h b/ui/gfx/screen.h
index 1d36d1b51cbefb9bff481219a7bddb6596b6875c..ff6eb954fbc3cc2a44e71a02d219dd46e0b9606b 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 ICC color profile data of the display nearest the window.
+ virtual bool GetDisplayColorProfile(
+ NativeView view, std::vector<char>* color_profile) const = 0;
sky 2014/05/07 16:38:35 I agree with Oshima on the wierdness of this API.
+
// Returns the display nearest the specified point.
virtual gfx::Display GetDisplayNearestPoint(
const gfx::Point& point) const = 0;
« no previous file with comments | « ui/aura/test/test_screen.cc ('k') | ui/gfx/screen_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698