Chromium Code Reviews| 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..f3541ac8f59db82c72e8702ab86e57dc4367deb8 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; |
| @@ -64,6 +65,10 @@ class ATHENA_EXPORT ScreenManager { |
| // Sets the background image. |
| virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0; |
| + // Get/set screen rotation. |
| + virtual gfx::Display::Rotation GetRotation() = 0; |
| + virtual void SetRotation(gfx::Display::Rotation rotation) = 0; |
|
oshima
2014/08/01 17:15:11
this is ok for the time being, but we should extra
flackr
2014/08/06 14:13:51
Done.
|
| + |
| // Create a focus rules. |
| // TODO(oshima): Make this virtual function. |
| static wm::FocusRules* CreateFocusRules(); |