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

Unified Diff: ui/gfx/color_space.h

Issue 2915673003: ui/gfx: Use separate components for color_space and switches (Closed)
Patch Set: Review feedback Created 3 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_space_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/color_space.h
diff --git a/ui/gfx/color_space.h b/ui/gfx/color_space.h
index 35d34257f694c0cfb86aeb337fc450878db6f58a..813d7d8088737f414381048e7cc487b1ed4546d0 100644
--- a/ui/gfx/color_space.h
+++ b/ui/gfx/color_space.h
@@ -12,7 +12,7 @@
#include "base/macros.h"
#include "build/build_config.h"
#include "third_party/skia/include/core/SkColorSpace.h"
-#include "ui/gfx/gfx_export.h"
+#include "ui/gfx/color_space_export.h"
namespace IPC {
template <class P>
@@ -26,7 +26,7 @@ class ICCProfile;
// Used to represet a color space for the purpose of color conversion.
// This is designed to be safe and compact enough to send over IPC
// between any processes.
-class GFX_EXPORT ColorSpace {
+class COLOR_SPACE_EXPORT ColorSpace {
public:
enum class PrimaryID : uint8_t {
INVALID,
@@ -212,8 +212,8 @@ class GFX_EXPORT ColorSpace {
};
// Stream operator so ColorSpace can be used in assertion statements.
-GFX_EXPORT std::ostream& operator<<(std::ostream& out,
- const ColorSpace& color_space);
+COLOR_SPACE_EXPORT std::ostream& operator<<(std::ostream& out,
+ const ColorSpace& color_space);
} // namespace gfx
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/color_space_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698