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

Side by Side Diff: ui/gfx/color_profile.h

Issue 10448110: Adds monitor ICC profile support for win and mac (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed feedback Created 8 years, 5 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 unified diff | Download patch
OLDNEW
(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 #define MIN_PROFILE_LENGTH 128
Ben Goodger (Google) 2012/07/09 15:56:46 We don't use #defines in chrome code, instead use
tpayne 2012/07/13 22:24:40 Done.
16 #define MAX_PROFILE_LENGTH (4 * 1000 * 1000)
17
18 namespace gfx {
19
20 // Loads the monitor color space if available.
21 UI_EXPORT void GetColorProfile(gfx::NativeViewId, std::vector<char>* profile);
Ben Goodger (Google) 2012/07/09 15:56:46 you never seem to use parent_window here. what's i
tpayne 2012/07/13 22:24:40 It's for future use, to support multiple monitors.
22 void ReadColorProfile(gfx::NativeViewId, std::vector<char>* profile);
23
24 } // namespace gfx
25
26 #endif // UI_GFX_COLOR_PROFILE_H_
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698