| Index: Source/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
|
| similarity index 98%
|
| rename from Source/core/platform/graphics/GraphicsContext.h
|
| rename to Source/platform/graphics/GraphicsContext.h
|
| index ea4b991155bf5aa671d6f894f0edbf0a67c79f09..81c93850e3164f1fa7cc13ed8cc841f593863293 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.h
|
| +++ b/Source/platform/graphics/GraphicsContext.h
|
| @@ -28,17 +28,18 @@
|
| #ifndef GraphicsContext_h
|
| #define GraphicsContext_h
|
|
|
| -#include "core/platform/graphics/Font.h"
|
| -#include "core/platform/graphics/GraphicsContextAnnotation.h"
|
| -#include "core/platform/graphics/GraphicsContextState.h"
|
| -#include "core/platform/graphics/ImageBuffer.h"
|
| -#include "core/platform/graphics/skia/OpaqueRegionSkia.h"
|
| -#include "core/platform/graphics/skia/SkiaUtils.h"
|
| +#include "platform/PlatformExport.h"
|
| #include "platform/TraceEvent.h"
|
| +#include "platform/fonts/Font.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/DashArray.h"
|
| #include "platform/graphics/DrawLooper.h"
|
| +#include "platform/graphics/ImageBuffer.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| +#include "platform/graphics/GraphicsContextAnnotation.h"
|
| +#include "platform/graphics/GraphicsContextState.h"
|
| +#include "platform/graphics/skia/OpaqueRegionSkia.h"
|
| +#include "platform/graphics/skia/SkiaUtils.h"
|
| // TODO(robertphillips): replace this include with "class SkBaseDevice;"
|
| #include "third_party/skia/include/core/SkDevice.h"
|
| #include "wtf/FastAllocBase.h"
|
| @@ -58,7 +59,7 @@ class DisplayList;
|
| class ImageBuffer;
|
| class KURL;
|
|
|
| -class GraphicsContext {
|
| +class PLATFORM_EXPORT GraphicsContext {
|
| WTF_MAKE_NONCOPYABLE(GraphicsContext); WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| enum AntiAliasingMode {
|
| @@ -371,7 +372,7 @@ public:
|
|
|
| static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle);
|
|
|
| - void beginAnnotation(const GraphicsContextAnnotation&);
|
| + void beginAnnotation(const char*, const char*, const String&, const String&, const String&);
|
| void endAnnotation();
|
|
|
| private:
|
|
|