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

Unified Diff: cc/test/layer_tree_test_common.h

Issue 12340095: cc: Make damage on delegated frame damage the host layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 7 years, 10 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/layer_tree_host_unittest_delegated.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test_common.h
diff --git a/cc/test/layer_tree_test_common.h b/cc/test/layer_tree_test_common.h
index 82fe12659eb57c08778c55a1ac1bde7df85bd9d7..25a1fd81448b2d923bedb61c8d7548ae4bb724d3 100644
--- a/cc/test/layer_tree_test_common.h
+++ b/cc/test/layer_tree_test_common.h
@@ -131,12 +131,15 @@ protected:
scoped_ptr<MockLayerImplTreeHostClient> m_client;
scoped_ptr<LayerTreeHost> m_layerTreeHost;
+ bool testEnded() const { return m_ended; }
+
private:
bool m_beginning;
bool m_endWhenBeginReturns;
bool m_timedOut;
bool m_scheduled;
bool m_started;
+ bool m_ended;
scoped_ptr<Thread> m_mainCCThread;
scoped_ptr<base::Thread> m_implThread;
« no previous file with comments | « cc/layer_tree_host_unittest_delegated.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698