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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 26112002: cc: Fix hit-testing in zero-opacity layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 | « cc/layers/draw_properties.h ('k') | cc/test/fake_picture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_picture_layer_impl.h
diff --git a/cc/test/fake_picture_layer_impl.h b/cc/test/fake_picture_layer_impl.h
index 759ceeb93842089a41d0e2d1ffa83ee5767e9355..9e49147d6974db677a7faf7fb98d715882112f9b 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -26,6 +26,7 @@ class FakePictureLayerImpl : public PictureLayerImpl {
OVERRIDE;
virtual void AppendQuads(QuadSink* quad_sink,
AppendQuadsData* append_quads_data) OVERRIDE;
+ virtual void UpdateTilePriorities() OVERRIDE;
virtual gfx::Size CalculateTileSize(gfx::Size content_bounds) const OVERRIDE;
using PictureLayerImpl::AddTiling;
@@ -49,6 +50,9 @@ class FakePictureLayerImpl : public PictureLayerImpl {
PictureLayerTilingSet* tilings() { return tilings_.get(); }
PicturePileImpl* pile() { return pile_.get(); }
size_t append_quads_count() { return append_quads_count_; }
+ size_t update_tile_priorities_count() const {
+ return update_tile_priorities_count_;
+ }
const Region& invalidation() const { return invalidation_; }
void set_invalidation(const Region& region) { invalidation_ = region; }
@@ -66,6 +70,7 @@ class FakePictureLayerImpl : public PictureLayerImpl {
gfx::Size fixed_tile_size_;
size_t append_quads_count_;
+ size_t update_tile_priorities_count_;
};
} // namespace cc
« no previous file with comments | « cc/layers/draw_properties.h ('k') | cc/test/fake_picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698