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

Unified Diff: athena/screen/public/screen_manager.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
« no previous file with comments | « no previous file | athena/screen/screen_manager_impl.cc » ('j') | athena/system/power_button_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/screen/public/screen_manager.h
diff --git a/athena/screen/public/screen_manager.h b/athena/screen/public/screen_manager.h
index 8a82f6c617272a0b59d7d527e61894dd5d3fcd4a..82ad85592bf7067f2b44a9bbddb58f9ac7b17d7f 100644
--- a/athena/screen/public/screen_manager.h
+++ b/athena/screen/public/screen_manager.h
@@ -17,6 +17,10 @@ namespace gfx {
class ImageSkia;
}
+namespace ui {
+class LayerAnimator;
+}
+
namespace wm {
class FocusRules;
}
@@ -64,6 +68,10 @@ class ATHENA_EXPORT ScreenManager {
// Sets the background image.
virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
+ // Returns the LayerAnimator to use to animate the entire screen (e.g. fade
+ // screen to white).
+ virtual ui::LayerAnimator* GetScreenAnimator() = 0;
+
// Create a focus rules.
// TODO(oshima): Make this virtual function.
static wm::FocusRules* CreateFocusRules();
« no previous file with comments | « no previous file | athena/screen/screen_manager_impl.cc » ('j') | athena/system/power_button_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698