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

Unified Diff: ui/gfx/color_profile.h

Issue 2106303002: Color: Rename gfx::ColorProfile to gfx::ColorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_profile.h
diff --git a/ui/gfx/color_profile.h b/ui/gfx/color_profile.h
deleted file mode 100644
index 04157e36b530adc4bffc33758694f64556821147..0000000000000000000000000000000000000000
--- a/ui/gfx/color_profile.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// 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 "base/macros.h"
-#include "build/build_config.h"
-#include "ui/gfx/gfx_export.h"
-
-namespace gfx {
-
-class GFX_EXPORT ColorProfile {
- public:
- ColorProfile(const std::vector<char>& profile);
- ColorProfile();
- ColorProfile(ColorProfile&& other);
- ColorProfile(const ColorProfile& other);
- ColorProfile& operator=(const ColorProfile& other);
- ~ColorProfile();
-
- const std::vector<char>& profile() const { return profile_; }
-
-#if defined(OS_WIN)
- // This will read color profile information from disk and cache the results
- // for the other functions to read. This should not be called on the UI or IO
- // thread.
- static void UpdateCachedProfilesOnBackgroundThread();
- static bool CachedProfilesNeedUpdate();
-#endif
-
- // Returns the color profile of the monitor that can best represent color.
- // This profile should be used for creating content that does not know on
- // which monitor it will be displayed.
- static ColorProfile GetFromBestMonitor();
-
- static bool IsValidProfileLength(size_t length);
-
- private:
- std::vector<char> profile_;
-};
-
-} // namespace gfx
-
-#endif // UI_GFX_COLOR_PROFILE_H_
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698