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

Unified Diff: cc/quads/tile_draw_quad.h

Issue 1380653003: Mac Overlays: Allow SolidColor and Tile quads to be candidates for overlays. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@AllOrNothing2
Patch Set: Plumb allow_overlay Created 5 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
Index: cc/quads/tile_draw_quad.h
diff --git a/cc/quads/tile_draw_quad.h b/cc/quads/tile_draw_quad.h
index feb9e87c7cc1541a58bd235ada782bb75ea56e3f..d2206fd95fda4b68a9811c9c2e27dff60395ec25 100644
--- a/cc/quads/tile_draw_quad.h
+++ b/cc/quads/tile_draw_quad.h
@@ -25,7 +25,8 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
const gfx::RectF& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool allow_overlay);
void SetAll(const SharedQuadState* shared_quad_state,
const gfx::Rect& rect,
@@ -39,7 +40,8 @@ class CC_EXPORT TileDrawQuad : public ContentDrawQuadBase {
const gfx::RectF& tex_coord_rect,
const gfx::Size& texture_size,
bool swizzle_contents,
- bool nearest_neighbor);
+ bool nearest_neighbor,
+ bool allow_overlay);
static const TileDrawQuad* MaterialCast(const DrawQuad*);

Powered by Google App Engine
This is Rietveld 408576698