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

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

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 years 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/Gradient.cpp ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « Source/platform/graphics/Gradient.cpp ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698