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

Unified Diff: ui/gfx/canvas.h

Issue 2770943004: cros: Fix browser header wrongly drawn frame image (Closed)
Patch Set: based on suggestions Created 3 years, 9 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/frame/browser_header_painter_ash.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 1c175c9b8c46eee44929121696237ee4505e6818..9e85da158a6a6165e3f60a8c18dec3ce8624235a 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -447,12 +447,21 @@ class GFX_EXPORT Canvas {
void TileImageInt(const ImageSkia& image,
int src_x,
int src_y,
+ int dest_x,
+ int dest_y,
+ int w,
+ int h,
+ cc::PaintFlags* flags);
+ void TileImageInt(const ImageSkia& image,
+ int src_x,
+ int src_y,
float tile_scale_x,
float tile_scale_y,
int dest_x,
int dest_y,
int w,
- int h);
+ int h,
+ cc::PaintFlags* flags);
// Helper for TileImageInt(). Initializes |flags| for tiling |image| with the
// given parameters. Returns false if the provided image does not have a
« no previous file with comments | « chrome/browser/ui/views/frame/browser_header_painter_ash.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698