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

Unified Diff: ui/gfx/compositor/layer_unittest.cc

Issue 8395046: Allows observers to be notified when layer animations complete. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge with master Created 9 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
Index: ui/gfx/compositor/layer_unittest.cc
diff --git a/ui/gfx/compositor/layer_unittest.cc b/ui/gfx/compositor/layer_unittest.cc
index a6a4f198a3ae68d2bdc327bb164b69e8259953f9..f219e0648c9fca9a6a9d8efca86d2a7490ff20d5 100644
--- a/ui/gfx/compositor/layer_unittest.cc
+++ b/ui/gfx/compositor/layer_unittest.cc
@@ -42,10 +42,6 @@ class ColoredLayer : public Layer, public LayerDelegate {
canvas->GetSkCanvas()->drawColor(color_);
}
- virtual void OnLayerAnimationEnded(
- const LayerAnimationSequence* animation) OVERRIDE {
- }
-
private:
SkColor color_;
};
@@ -134,9 +130,6 @@ class TestLayerDelegate : public LayerDelegate {
contents.height());
color_index_ = (color_index_ + 1) % static_cast<int>(colors_.size());
}
- virtual void OnLayerAnimationEnded(
- const LayerAnimationSequence* animation) OVERRIDE {
- }
private:
std::vector<SkColor> colors_;
@@ -163,9 +156,6 @@ class DrawTreeLayerDelegate : public LayerDelegate {
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE {
painted_ = true;
}
- virtual void OnLayerAnimationEnded(
- const LayerAnimationSequence* animation) OVERRIDE {
- }
bool painted_;
@@ -182,9 +172,6 @@ class NullLayerDelegate : public LayerDelegate {
// Overridden from LayerDelegate:
virtual void OnPaintLayer(gfx::Canvas* canvas) OVERRIDE {
}
- virtual void OnLayerAnimationEnded(
- const LayerAnimationSequence* animation) OVERRIDE {
- }
DISALLOW_COPY_AND_ASSIGN(NullLayerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698