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..6a0f39caf694ea638fa036aa25871e441582a3cd |
--- /dev/null |
+++ b/ui/gfx/color_profile.h |
@@ -0,0 +1,29 @@ |
+// 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_ |
+#pragma once |
+ |
+#include <map> |
+#include <vector> |
+ |
+#include "ui/base/ui_export.h" |
+#include "ui/gfx/native_widget_types.h" |
+ |
+namespace gfx { |
+ |
+// Loads the monitor color space if available. |
+class UI_EXPORT ColorProfile { |
+ public: |
+ static void GetColorProfile(gfx::NativeViewId, std::vector<char>* profile); |
+ protected: |
Evan Stade
2012/06/12 00:48:24
no need
tpayne
2012/06/19 17:51:15
Done.
|
+ private: |
+ static void ReadProfile(gfx::NativeViewId, std::vector<char>* profile); |
+}; |
+ |
+} // namespace gfx |
+ |
+#endif // UI_GFX_COLOR_PROFILE_H_ |
+ |