OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_GFX_COLOR_PROFILE_H_ | |
6 #define UI_GFX_COLOR_PROFILE_H_ | |
7 #pragma once | |
8 | |
9 #include <map> | |
10 #include <vector> | |
11 | |
12 #include "ui/base/ui_export.h" | |
13 #include "ui/gfx/native_widget_types.h" | |
14 | |
15 namespace gfx { | |
16 | |
17 // Loads the monitor color space if available. | |
18 class UI_EXPORT ColorProfile { | |
Ben Goodger (Google)
2012/06/29 16:11:40
Can these just be functions in the gfx namespace r
tpayne
2012/07/02 19:22:32
Done.
| |
19 public: | |
20 static void GetColorProfile(gfx::NativeViewId, std::vector<char>* profile); | |
21 private: | |
22 static void ReadProfile(gfx::NativeViewId, std::vector<char>* profile); | |
23 }; | |
24 | |
25 } // namespace gfx | |
26 | |
27 #endif // UI_GFX_COLOR_PROFILE_H_ | |
28 | |
OLD | NEW |