| 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..307f006a350aa174e2baf25406162a06065ed8b1 100644
|
| --- a/athena/screen/public/screen_manager.h
|
| +++ b/athena/screen/public/screen_manager.h
|
| @@ -15,6 +15,7 @@ class Window;
|
|
|
| namespace gfx {
|
| class ImageSkia;
|
| +class Insets;
|
| }
|
|
|
| namespace ui {
|
| @@ -26,6 +27,7 @@ class FocusRules;
|
| }
|
|
|
| namespace athena {
|
| +class ScreenManagerDelegate;
|
|
|
| // Mananges basic UI components on the screen such as background, and provide
|
| // API for other UI components, such as window manager, home card, to
|
| @@ -48,12 +50,16 @@ class ATHENA_EXPORT ScreenManager {
|
|
|
| // Creates, returns and deletes the singleton object of the ScreenManager
|
| // implementation.
|
| - static ScreenManager* Create(aura::Window* root);
|
| + static ScreenManager* Create(ScreenManagerDelegate* delegate,
|
| + aura::Window* root);
|
| static ScreenManager* Get();
|
| static void Shutdown();
|
|
|
| virtual ~ScreenManager() {}
|
|
|
| + // Sets the screen's work area insets.
|
| + virtual void SetWorkAreaInsets(const gfx::Insets& insets) = 0;
|
| +
|
| // Creates the container window that is used when creating a normal
|
| // widget without specific parent.
|
| virtual aura::Window* CreateDefaultContainer(
|
|
|