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

Unified Diff: ui/compositor/layer.h

Issue 12609006: ui::Layer::SwitchToLayer should finish animations on its old cc::Layer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index 60057ca0762bd33feee9495b1dd1be6417d61364..6ad646314050054be4aaed91961eea76031d0660 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -316,6 +316,9 @@ class COMPOSITOR_EXPORT Layer
return pending_threaded_animations_.size() != 0;
}
+ // Triggers a call to SwitchToLayer.
+ void SwitchCCLayerForTest();
+
private:
// Stacks |child| above or below |other|. Helper method for StackAbove() and
// StackBelow().
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698