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

Unified Diff: Source/platform/graphics/GraphicsTypes.h

Issue 37803003: Move GraphicsTypes* and ColorSpace to Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: I misread Adam's comment, the exports are needed in one place Created 7 years, 2 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 | « Source/platform/graphics/ColorSpace.h ('k') | Source/platform/graphics/GraphicsTypes.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsTypes.h
diff --git a/Source/core/platform/graphics/GraphicsTypes.h b/Source/platform/graphics/GraphicsTypes.h
similarity index 84%
rename from Source/core/platform/graphics/GraphicsTypes.h
rename to Source/platform/graphics/GraphicsTypes.h
index 5338129e0b791810c876f0526470c60018e4d6a7..ab2fee8d7dfa99c6da32d3f6204933d9f80aa7f4 100644
--- a/Source/core/platform/graphics/GraphicsTypes.h
+++ b/Source/platform/graphics/GraphicsTypes.h
@@ -26,8 +26,8 @@
#ifndef GraphicsTypes_h
#define GraphicsTypes_h
+#include "platform/PlatformExport.h"
#include "third_party/skia/include/core/SkPaint.h"
-
#include "wtf/Forward.h"
namespace WebCore {
@@ -123,20 +123,20 @@ enum ColorFilter {
ColorFilterLinearRGBToSRGB
};
-String compositeOperatorName(CompositeOperator, BlendMode);
-bool parseCompositeAndBlendOperator(const String&, CompositeOperator&, BlendMode&);
+PLATFORM_EXPORT String compositeOperatorName(CompositeOperator, BlendMode);
+PLATFORM_EXPORT bool parseCompositeAndBlendOperator(const String&, CompositeOperator&, BlendMode&);
-String lineCapName(LineCap);
-bool parseLineCap(const String&, LineCap&);
+PLATFORM_EXPORT String lineCapName(LineCap);
+PLATFORM_EXPORT bool parseLineCap(const String&, LineCap&);
-String lineJoinName(LineJoin);
-bool parseLineJoin(const String&, LineJoin&);
+PLATFORM_EXPORT String lineJoinName(LineJoin);
+PLATFORM_EXPORT bool parseLineJoin(const String&, LineJoin&);
-String textAlignName(TextAlign);
-bool parseTextAlign(const String&, TextAlign&);
+PLATFORM_EXPORT String textAlignName(TextAlign);
+PLATFORM_EXPORT bool parseTextAlign(const String&, TextAlign&);
-String textBaselineName(TextBaseline);
-bool parseTextBaseline(const String&, TextBaseline&);
+PLATFORM_EXPORT String textBaselineName(TextBaseline);
+PLATFORM_EXPORT bool parseTextBaseline(const String&, TextBaseline&);
} // namespace WebCore
« no previous file with comments | « Source/platform/graphics/ColorSpace.h ('k') | Source/platform/graphics/GraphicsTypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698