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

Side by Side Diff: Source/platform/graphics/LoggingCanvas.h

Issue 1151933002: Remove Skia comment API overrides (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void onDrawRRect(const SkRRect&, const SkPaint&) override; 48 virtual void onDrawRRect(const SkRRect&, const SkPaint&) override;
49 virtual void onDrawPath(const SkPath&, const SkPaint&) override; 49 virtual void onDrawPath(const SkPath&, const SkPaint&) override;
50 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, cons t SkPaint*) override; 50 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top, cons t SkPaint*) override;
51 virtual void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRe ct& dst, const SkPaint*, DrawBitmapRectFlags) override; 51 virtual void onDrawBitmapRect(const SkBitmap&, const SkRect* src, const SkRe ct& dst, const SkPaint*, DrawBitmapRectFlags) override;
52 virtual void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) override; 52 virtual void onDrawBitmapNine(const SkBitmap&, const SkIRect& center, const SkRect& dst, const SkPaint*) override;
53 virtual void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) override; 53 virtual void onDrawImage(const SkImage*, SkScalar, SkScalar, const SkPaint*) override;
54 virtual void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect & dst, const SkPaint*) override; 54 virtual void onDrawImageRect(const SkImage*, const SkRect* src, const SkRect & dst, const SkPaint*) override;
55 virtual void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint* ) override; 55 virtual void onDrawSprite(const SkBitmap&, int left, int top, const SkPaint* ) override;
56 virtual void onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[], 56 virtual void onDrawVertices(VertexMode vmode, int vertexCount, const SkPoint vertices[], const SkPoint texs[],
57 const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint&) override; 57 const SkColor colors[], SkXfermode* xmode, const uint16_t indices[], int indexCount, const SkPaint&) override;
58 virtual void beginCommentGroup(const char* description) override;
59 virtual void addComment(const char* keyword, const char* value) override;
60 virtual void endCommentGroup() override;
61 58
62 virtual void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&) override; 59 virtual void onDrawDRRect(const SkRRect& outer, const SkRRect& inner, const SkPaint&) override;
63 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, const SkPaint&) override; 60 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkS calar y, const SkPaint&) override;
64 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], const SkPaint&) override; 61 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoin t pos[], const SkPaint&) override;
65 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], SkScalar constY, const SkPaint&) override; 62 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkSca lar xpos[], SkScalar constY, const SkPaint&) override;
66 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath&, const SkMatrix*, const SkPaint&) override; 63 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkP ath&, const SkMatrix*, const SkPaint&) override;
67 virtual void onDrawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint&) override; 64 virtual void onDrawTextBlob(const SkTextBlob*, SkScalar x, SkScalar y, const SkPaint&) override;
68 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override ; 65 virtual void onClipRect(const SkRect&, SkRegion::Op, ClipEdgeStyle) override ;
69 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) overri de; 66 virtual void onClipRRect(const SkRRect&, SkRegion::Op, ClipEdgeStyle) overri de;
70 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override ; 67 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override ;
(...skipping 12 matching lines...) Expand all
83 }; 80 };
84 81
85 #ifndef NDEBUG 82 #ifndef NDEBUG
86 String pictureAsDebugString(const SkPicture*); 83 String pictureAsDebugString(const SkPicture*);
87 void showSkPicture(const SkPicture*); 84 void showSkPicture(const SkPicture*);
88 #endif 85 #endif
89 86
90 } // namespace blink 87 } // namespace blink
91 88
92 #endif // LoggingCanvas_h 89 #endif // LoggingCanvas_h
OLDNEW
« no previous file with comments | « Source/platform/graphics/InterceptingCanvas.h ('k') | Source/platform/graphics/LoggingCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698