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

Unified Diff: cc/test/fake_picture_layer_impl.h

Issue 441863002: cc: Make sure mask and replica layers get DidBecomeActive signal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | 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 f101b0f3e2660f7de72d3726d20ff94f007ff420..ab0c023654ff4c21f1509e89365b1bfae2164a71 100644
--- a/cc/test/fake_picture_layer_impl.h
+++ b/cc/test/fake_picture_layer_impl.h
@@ -41,6 +41,11 @@ class FakePictureLayerImpl : public PictureLayerImpl {
virtual gfx::Size CalculateTileSize(
const gfx::Size& content_bounds) const OVERRIDE;
+ virtual void DidBecomeActive() OVERRIDE;
+ size_t did_become_active_call_count() {
+ return did_become_active_call_count_;
+ }
+
using PictureLayerImpl::AddTiling;
using PictureLayerImpl::CleanUpTilingsOnActiveLayer;
using PictureLayerImpl::CanHaveTilings;
@@ -110,6 +115,7 @@ class FakePictureLayerImpl : public PictureLayerImpl {
gfx::Size fixed_tile_size_;
size_t append_quads_count_;
+ size_t did_become_active_call_count_;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/test/fake_picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698