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

Unified Diff: chrome/browser/extensions/api/system_display/system_display_apitest.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
Index: chrome/browser/extensions/api/system_display/system_display_apitest.cc
diff --git a/chrome/browser/extensions/api/system_display/system_display_apitest.cc b/chrome/browser/extensions/api/system_display/system_display_apitest.cc
index 17a0dcf1182fb9254755c14fd083490d9bb191b8..f8b65674fa14f3d2cb7ff0086aa34d7b47cebd0e 100644
--- a/chrome/browser/extensions/api/system_display/system_display_apitest.cc
+++ b/chrome/browser/extensions/api/system_display/system_display_apitest.cc
@@ -91,6 +91,10 @@ class MockScreen : public Screen {
gfx::NativeView window) const OVERRIDE {
return gfx::Display(0);
}
+ virtual bool GetDisplayColorProfile(gfx::NativeView window,
+ std::vector<char>* color_profile) const OVERRIDE {
+ return false;
+ }
virtual gfx::Display GetDisplayNearestPoint(
const gfx::Point& point) const OVERRIDE {
return gfx::Display(0);

Powered by Google App Engine
This is Rietveld 408576698