diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 00:38:06 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-18 00:38:06 +0000 |
commit | 5f948943cc7581a276b2c4eb632af874a8fe469e (patch) | |
tree | 5e1f672ad04adb3c46dcf3ff38d2c0389209412e /chrome/browser/renderer_host/backing_store.h | |
parent | ad7a735e4d8752760050a483d9ddd7ce2014a768 (diff) | |
download | chromium_src-5f948943cc7581a276b2c4eb632af874a8fe469e.zip chromium_src-5f948943cc7581a276b2c4eb632af874a8fe469e.tar.gz chromium_src-5f948943cc7581a276b2c4eb632af874a8fe469e.tar.bz2 |
Enable off-by-default monitor color management on Windows. This is enabled via
a command-line switch.
BUG=4938
Review URL: http://codereview.chromium.org/131002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/backing_store.h')
-rw-r--r-- | chrome/browser/renderer_host/backing_store.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/backing_store.h b/chrome/browser/renderer_host/backing_store.h index 0fb47ab..fd2d13b 100644 --- a/chrome/browser/renderer_host/backing_store.h +++ b/chrome/browser/renderer_host/backing_store.h @@ -52,6 +52,9 @@ class BackingStore { #if defined(OS_WIN) HDC hdc() { return hdc_; } + // Returns true if we should convert to the monitor profile when painting. + static bool ColorManagementEnabled(); + #elif defined(OS_MACOSX) skia::PlatformCanvas* canvas() { return &canvas_; } |