| Index: ui/gfx/canvas.h
|
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
|
| index 1c175c9b8c46eee44929121696237ee4505e6818..5314e5d37d458c74ce41da3fe801090e9072d76b 100644
|
| --- a/ui/gfx/canvas.h
|
| +++ b/ui/gfx/canvas.h
|
| @@ -75,9 +75,6 @@ class GFX_EXPORT Canvas {
|
| // when rendering text onto a fully- or partially-transparent background
|
| // that will later be blended with another image.
|
| NO_SUBPIXEL_RENDERING = 1 << 9,
|
| -
|
| - // Draw text with 1px border.
|
| - HALO_EFFECT = 1 << 10,
|
| };
|
|
|
| // Creates an empty canvas with image_scale of 1x.
|
| @@ -150,22 +147,6 @@ class GFX_EXPORT Canvas {
|
| // Canvas::TEXT_ALIGN_RIGHT.
|
| static int DefaultCanvasTextAlignment();
|
|
|
| - // Draws text with a 1-pixel halo around it of the given color.
|
| - // On Windows, it allows ClearType to be drawn to an otherwise transparent
|
| - // bitmap for drag images. Drag images have only 1-bit of transparency, so
|
| - // we don't do any fancy blurring.
|
| - // On Linux, text with halo is created by stroking it with 2px |halo_color|
|
| - // then filling it with |text_color|.
|
| - // On Mac, NOTIMPLEMENTED.
|
| - // TODO(dhollowa): Skia-native implementation is underway. Cut over to
|
| - // that when ready. http::/crbug.com/109946
|
| - void DrawStringRectWithHalo(const base::string16& text,
|
| - const FontList& font_list,
|
| - SkColor text_color,
|
| - SkColor halo_color,
|
| - const Rect& display_rect,
|
| - int flags);
|
| -
|
| // Extracts an ImageSkiaRep from the contents of this canvas.
|
| ImageSkiaRep ExtractImageRep() const;
|
|
|
|
|