Index: ui/gfx/color_profile.h |
diff --git a/ui/gfx/color_profile.h b/ui/gfx/color_profile.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..78e4a83045733dc755c795c803276e6f5ce85039 |
--- /dev/null |
+++ b/ui/gfx/color_profile.h |
@@ -0,0 +1,23 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GFX_COLOR_PROFILE_H_ |
+#define UI_GFX_COLOR_PROFILE_H_ |
+ |
+#include <vector> |
+ |
+#include "ui/base/ui_export.h" |
+ |
+namespace gfx { |
+ |
+static const size_t kMinProfileLength = 128; |
+static const size_t kMaxProfileLength = 4 * 1024 * 1024; |
+ |
+// Loads the monitor color space if available. |
+UI_EXPORT void GetColorProfile(std::vector<char>* profile); |
+ |
+} // namespace gfx |
+ |
+#endif // UI_GFX_COLOR_PROFILE_H_ |
+ |