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

Unified Diff: mojo/examples/aura_demo/demo_screen.h

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: mojo/examples/aura_demo/demo_screen.h
diff --git a/mojo/examples/aura_demo/demo_screen.h b/mojo/examples/aura_demo/demo_screen.h
index 43db5f4197077924274d5be65adf3d4ac680c99d..17fcfd670c922c6c06bf7a7227985d1cd55b1211 100644
--- a/mojo/examples/aura_demo/demo_screen.h
+++ b/mojo/examples/aura_demo/demo_screen.h
@@ -34,6 +34,8 @@ class DemoScreen : public gfx::Screen {
virtual std::vector<gfx::Display> GetAllDisplays() const OVERRIDE;
virtual gfx::Display GetDisplayNearestWindow(
gfx::NativeView view) const OVERRIDE;
+ virtual bool GetDisplayColorProfile(
+ gfx::NativeView view, std::vector<char>* color_profile) const OVERRIDE;
virtual gfx::Display GetDisplayNearestPoint(
const gfx::Point& point) const OVERRIDE;
virtual gfx::Display GetDisplayMatching(

Powered by Google App Engine
This is Rietveld 408576698