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

Unified Diff: ui/gfx/canvas.h

Issue 2799213003: Remove deprecated functions from Canvas in favor of the RectF version. (Closed)
Patch Set: Remove deprecated functions from Canvas in favor of the RectF version Created 3 years, 8 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 | « chrome/browser/thumbnails/content_analysis_unittest.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 1c175c9b8c46eee44929121696237ee4505e6818..e0f81fdea9b5241682c17f973ddfaa38f3577b46 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -170,11 +170,6 @@ class GFX_EXPORT Canvas {
ImageSkiaRep ExtractImageRep() const;
// Draws a dashed rectangle of the specified color.
- // DEPRECATED in favor of the RectF version below.
- // TODO(funkysidd): Remove this (http://crbug.com/553726)
- void DrawDashedRect(const Rect& rect, SkColor color);
-
- // Draws a dashed rectangle of the specified color.
void DrawDashedRect(const RectF& rect, SkColor color);
// Unscales by the image scale factor (aka device scale factor), and returns
@@ -239,28 +234,12 @@ class GFX_EXPORT Canvas {
// color, using a transfer mode of SkBlendMode::kSrcOver.
//
// NOTE: if you need a single pixel line, use DrawLine.
- // DEPRECATED in favor of the RectF version below.
- // TODO(funkysidd): Remove this (http://crbug.com/553726)
- void DrawRect(const Rect& rect, SkColor color);
-
- // Draws a single pixel rect in the specified region with the specified
- // color, using a transfer mode of SkBlendMode::kSrcOver.
- //
- // NOTE: if you need a single pixel line, use DrawLine.
void DrawRect(const RectF& rect, SkColor color);
// Draws a single pixel rect in the specified region with the specified
// color and transfer mode.
//
// NOTE: if you need a single pixel line, use DrawLine.
- // DEPRECATED in favor of the RectF version below.
- // TODO(funkysidd): Remove this (http://crbug.com/553726)
- void DrawRect(const Rect& rect, SkColor color, SkBlendMode mode);
-
- // Draws a single pixel rect in the specified region with the specified
- // color and transfer mode.
- //
- // NOTE: if you need a single pixel line, use DrawLine.
void DrawRect(const RectF& rect, SkColor color, SkBlendMode mode);
// Draws the given rectangle with the given |flags| parameters.
« no previous file with comments | « chrome/browser/thumbnails/content_analysis_unittest.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698