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

Unified Diff: ui/gfx/screen_ios.mm

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
Index: ui/gfx/screen_ios.mm
diff --git a/ui/gfx/screen_ios.mm b/ui/gfx/screen_ios.mm
index f630f00a9f04740d20bea44f922b22f7a380af73..7e8eb65f2d81483449f1bd749e2ed7e8b104efb3 100644
--- a/ui/gfx/screen_ios.mm
+++ b/ui/gfx/screen_ios.mm
@@ -53,6 +53,13 @@ class ScreenIos : public gfx::Screen {
return gfx::Display();
}
+ // Returns the ICC color profile of the display nearest the window.
+ virtual bool GetDisplayColorProfile(
+ gfx::NativeView view, std::vector<char>* color_profile) const OVERRIDE {
+ // TODO(port): consider screen color profile support.
+ return false;
+ }
+
// Returns the the display nearest the specified point.
virtual gfx::Display GetDisplayNearestPoint(
const gfx::Point& point) const OVERRIDE {
« ui/gfx/screen.h ('K') | « ui/gfx/screen_android.cc ('k') | ui/gfx/screen_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698