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

Unified Diff: ui/gfx/screen_android.cc

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
« ui/gfx/screen.h ('K') | « ui/gfx/screen.h ('k') | ui/gfx/screen_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/screen_android.cc
diff --git a/ui/gfx/screen_android.cc b/ui/gfx/screen_android.cc
index 9114b8554537519fb2eec3966cc4c12710b308ab..3d079a657079ec0b7dd23ab070460580a946b0db 100644
--- a/ui/gfx/screen_android.cc
+++ b/ui/gfx/screen_android.cc
@@ -52,6 +52,12 @@ class ScreenAndroid : public Screen {
return GetPrimaryDisplay();
}
+ virtual bool GetDisplayColorProfile(
+ gfx::NativeView view, std::vector<char>*color_profile) const OVERRIDE {
+ // TODO(port): consider screen color profile support.
+ return false;
+ }
+
virtual gfx::Display GetDisplayNearestPoint(
const gfx::Point& point) const OVERRIDE {
return GetPrimaryDisplay();
« ui/gfx/screen.h ('K') | « ui/gfx/screen.h ('k') | ui/gfx/screen_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698