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

Unified Diff: ui/gfx/canvas.h

Issue 290333012: [Win] Draw the circular avatar programmatically rather than with a frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add missing virtual keyword Created 6 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
« no previous file with comments | « ui/app_list/views/app_list_background.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 9467b9c5bdf4a10dd70afdbdf170367f87f96770..05c84236ece424545ecc564b2281b16fbbdda968 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -201,8 +201,9 @@ class GFX_EXPORT Canvas {
// Adds |rect| to the current clip.
void ClipRect(const Rect& rect);
- // Adds |path| to the current clip.
- void ClipPath(const SkPath& path);
+ // Adds |path| to the current clip. |do_anti_alias| is true if the clip
+ // should be antialiased.
+ void ClipPath(const SkPath& path, bool do_anti_alias);
// Returns true if the current clip is empty.
bool IsClipEmpty() const;
« no previous file with comments | « ui/app_list/views/app_list_background.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698