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

Unified Diff: ui/gfx/canvas.h

Issue 8359029: ui/gfx: Convert Canvas::DrawFocusRect() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Peter's review Created 9 years, 2 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/ui/views/tabs/dragged_tab_view.cc ('k') | ui/gfx/canvas_direct2d.h » ('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 38ad3ac364b7557338af8fa9b5c008efcb3946d9..221c11cd3b4c0ae83f389a0365314f802996447c 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -205,7 +205,7 @@ class UI_EXPORT Canvas {
int flags) = 0;
// Draws a dotted gray rectangle used for focus purposes.
- virtual void DrawFocusRect(int x, int y, int width, int height) = 0;
+ virtual void DrawFocusRect(const gfx::Rect& rect) = 0;
// Tiles the image in the specified region.
virtual void TileImageInt(const SkBitmap& bitmap,
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.cc ('k') | ui/gfx/canvas_direct2d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698