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

Unified Diff: ui/gfx/canvas.h

Issue 1998493002: Update omnibox chips in MD (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slight refactor Created 4 years, 7 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
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 328292aee0c35ef7ed41a9cc2134deb5b5b496d5..cb937d0139d87e5cf555289e15a6affb63643683 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -25,6 +25,7 @@ class Rect;
class RectF;
class FontList;
class Point;
+class PointF;
class Size;
class Transform;
@@ -241,9 +242,11 @@ class GFX_EXPORT Canvas {
// Draws a single pixel line with the specified color.
void DrawLine(const Point& p1, const Point& p2, SkColor color);
+ void DrawLine(const PointF& p1, const PointF& p2, SkColor color);
// Draws a line with the given |paint| parameters.
void DrawLine(const Point& p1, const Point& p2, const SkPaint& paint);
+ void DrawLine(const PointF& p1, const PointF& p2, const SkPaint& paint);
// Draws a circle with the given |paint| parameters.
void DrawCircle(const Point& center_point,

Powered by Google App Engine
This is Rietveld 408576698