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

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: 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
« 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 99ca833d9aae81000245f764dfe7a83c6f4d16a5..c5afa9ed76a8be0faab758bdaf2eab372f250768 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.cc
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.cc
@@ -270,6 +270,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