| Index: ui/gfx/canvas.h
|
| diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
|
| index c83b797db01e550de6c70f0fd4531f40f0caf8e1..f8358e91263cdb6744b35385a539e6c013e02605 100644
|
| --- a/ui/gfx/canvas.h
|
| +++ b/ui/gfx/canvas.h
|
| @@ -26,6 +26,7 @@ class CanvasSkia;
|
| class Font;
|
| class Point;
|
| class Rect;
|
| +class RenderText;
|
|
|
| // TODO(beng): documentation.
|
| class Canvas {
|
| @@ -196,6 +197,9 @@ class Canvas {
|
| int x, int y, int w, int h,
|
| int flags) = 0;
|
|
|
| + // Draws the specified |render_text| with style, cursor, selection, etc.
|
| + virtual void DrawStringInt(const RenderText& render_text) = 0;
|
| +
|
| // Draws a dotted gray rectangle used for focus purposes.
|
| virtual void DrawFocusRect(int x, int y, int width, int height) = 0;
|
|
|
|
|