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

Unified Diff: sky/engine/platform/graphics/GraphicsContext.h

Issue 870393002: Remove GraphicsContext annotations. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « sky/engine/platform/BUILD.gn ('k') | sky/engine/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/graphics/GraphicsContext.h
diff --git a/sky/engine/platform/graphics/GraphicsContext.h b/sky/engine/platform/graphics/GraphicsContext.h
index 09a9f1ffca1b1804e1602e7601810130fb6a5dae..8afe366c1aa56c7ee8b1d722ca61b2b208f4d4d7 100644
--- a/sky/engine/platform/graphics/GraphicsContext.h
+++ b/sky/engine/platform/graphics/GraphicsContext.h
@@ -33,7 +33,6 @@
#include "sky/engine/platform/geometry/FloatRect.h"
#include "sky/engine/platform/graphics/DashArray.h"
#include "sky/engine/platform/graphics/DrawLooperBuilder.h"
-#include "sky/engine/platform/graphics/GraphicsContextAnnotation.h"
#include "sky/engine/platform/graphics/GraphicsContextState.h"
#include "sky/engine/platform/graphics/ImageBufferSurface.h"
#include "sky/engine/platform/graphics/ImageFilter.h"
@@ -217,9 +216,6 @@ public:
void setTrackTextRegion(bool track) { m_trackTextRegion = track; }
const SkRect& textRegion() const { return m_textRegion; }
- AnnotationModeFlags annotationMode() const { return m_annotationMode; }
- void setAnnotationMode(const AnnotationModeFlags mode) { m_annotationMode = mode; }
-
SkColorFilter* colorFilter() const;
void setColorFilter(ColorFilter);
// ---------- End state management methods -----------------
@@ -388,9 +384,6 @@ public:
static void adjustLineToPixelBoundaries(FloatPoint& p1, FloatPoint& p2, float strokeWidth, StrokeStyle);
- void beginAnnotation(const AnnotationList&);
- void endAnnotation();
-
void preparePaintForDrawRectToRect(
SkPaint*,
const SkRect& srcRect,
@@ -494,13 +487,10 @@ private:
Vector<CanvasSaveState> m_canvasStateStack;
bool m_pendingCanvasSave;
- AnnotationModeFlags m_annotationMode;
-
struct RecordingState;
Vector<RecordingState> m_recordingStateStack;
#if ENABLE(ASSERT)
- unsigned m_annotationCount;
unsigned m_layerCount;
bool m_disableDestructionChecks;
#endif
« no previous file with comments | « sky/engine/platform/BUILD.gn ('k') | sky/engine/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698