Index: athena/screen/public/screen_manager.h |
diff --git a/athena/screen/public/screen_manager.h b/athena/screen/public/screen_manager.h |
index 82ad85592bf7067f2b44a9bbddb58f9ac7b17d7f..64f90357dee428fdb904288691e57a45ec8b1335 100644 |
--- a/athena/screen/public/screen_manager.h |
+++ b/athena/screen/public/screen_manager.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "athena/athena_export.h" |
+#include "ui/gfx/display.h" |
namespace aura { |
class Window; |
@@ -68,6 +69,11 @@ class ATHENA_EXPORT ScreenManager { |
// Sets the background image. |
virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0; |
+ // Set screen rotation. |
+ // TODO(flackr): Extract and use ash DisplayManager to set rotation |
+ // instead: http://crbug.com/401044. |
+ virtual void SetRotation(gfx::Display::Rotation rotation) = 0; |
+ |
// Returns the LayerAnimator to use to animate the entire screen (e.g. fade |
// screen to white). |
virtual ui::LayerAnimator* GetScreenAnimator() = 0; |