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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.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/views/widget/desktop_aura/desktop_screen_x11.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_screen_x11.cc
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.cc b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
index d9277807d443470b824144ab0ff48af2ccfcadfe..6fb6163b77fabc3f2be24858df3f6180ae90b14c 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
@@ -223,6 +223,12 @@ gfx::Display DesktopScreenX11::GetDisplayNearestWindow(
return GetPrimaryDisplay();
}
+bool DesktopScreenX11::GetDisplayColorProfile(
+ gfx::NativeView view, std::vector<char>* color_profile) const {
+ // TODO(port): consider screen color profile support.
+ return false;
+}
+
gfx::Display DesktopScreenX11::GetDisplayNearestPoint(
const gfx::Point& point) const {
for (std::vector<gfx::Display>::const_iterator it = displays_.begin();
« ui/gfx/screen.h ('K') | « ui/views/widget/desktop_aura/desktop_screen_x11.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698