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

Unified Diff: athena/screen/screen_animator_impl.h

Issue 451753002: Add fade to white animation when power button is pressed on Athena (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
Index: athena/screen/screen_animator_impl.h
diff --git a/athena/screen/screen_animator_impl.h b/athena/screen/screen_animator_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..bce9e4eb97ad3205115b613223e16655a92a0a58
--- /dev/null
+++ b/athena/screen/screen_animator_impl.h
@@ -0,0 +1,35 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ATHENA_SCREEN_SCREEN_ANIMATOR_IMPL_H_
+#define ATHENA_SCREEN_SCREEN_ANIMATOR_IMPL_H_
+
+#include "athena/screen/public/screen_animator.h"
+#include "base/macros.h"
+
+namespace aura {
+class Window;
+}
+
+namespace athena {
+
+// ScreenAnimator implementation.
+class ScreenAnimatorImpl : public ScreenAnimator {
+ public:
+ explicit ScreenAnimatorImpl(aura::Window* root_window);
+ virtual ~ScreenAnimatorImpl();
+
+ // ScreenAnimator:
+ virtual void StartAnimation(AnimationType type,
+ ui::ImplicitAnimationObserver* observer) OVERRIDE;
+
+ private:
+ aura::Window* root_window_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScreenAnimatorImpl);
+};
+
+} // namespace athena
+
+#endif // ATHENA_SCREEN_SCREEN_ANIMATOR_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698