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

Unified Diff: cc/test/layer_tree_test.cc

Issue 690493002: cc: Add an integration test for what scale we draw with after pinching (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pinchblurmerge-test: compile Created 6 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
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 8be75bd8df048aed1e0460c8735f9596290d38e5..519052fce776f72bbfec498550e38cf387dc365e 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -256,6 +256,11 @@ class LayerTreeHostImplForTesting : public LayerTreeHostImpl {
return test_hooks_->LowFrequencyAnimationInterval();
}
+ void NotifyTileStateChanged(const Tile* tile) override {
+ LayerTreeHostImpl::NotifyTileStateChanged(tile);
+ test_hooks_->NotifyTileStateChangedOnThread(this, tile);
+ }
+
private:
TestHooks* test_hooks_;
bool block_notify_ready_to_activate_for_testing_;
« no previous file with comments | « cc/test/layer_tree_test.h ('k') | cc/test/test_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698