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

Unified Diff: ui/gfx/canvas.h

Issue 2616963002: Remove unused Canvas::DrawStringRectWithShadows(). (Closed)
Patch Set: more iwyu Created 3 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 | « ui/compositor/layer_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 00f5b9103fc53f195d5bf3d67a697a73d2e61b5b..adf12868026de6793ff2edf452686acdc7213144 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -16,7 +16,6 @@
#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
-#include "ui/gfx/shadow_value.h"
#include "ui/gfx/text_constants.h"
namespace gfx {
@@ -28,6 +27,7 @@ class Point;
class PointF;
class Size;
class Transform;
+class Vector2d;
// Canvas is a SkCanvas wrapper that provides a number of methods for
// common operations used throughout an application built using ui/gfx.
@@ -407,17 +407,6 @@ class GFX_EXPORT Canvas {
const Rect& display_rect,
int flags);
- // Similar to above DrawStringRect method but with text shadows support.
- // Currently it's only implemented for canvas skia. Specifying a 0 line_height
- // will cause the default height to be used.
- void DrawStringRectWithShadows(const base::string16& text,
- const FontList& font_list,
- SkColor color,
- const Rect& text_bounds,
- int line_height,
- int flags,
- const ShadowValues& shadows);
-
// Draws a dotted gray rectangle used for focus purposes.
// DEPRECATED in favor of the RectF version below.
// TODO(funkysidd): Remove this (http://crbug.com/553726)
« no previous file with comments | « ui/compositor/layer_unittest.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698