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

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: Add desktop_aura/desktop_screen_x11.h Created 6 years, 8 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..b656176996101daccd8f303803e799bb50b06d4f 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 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