| Index: ash/screen_ash.cc
|
| diff --git a/ash/screen_ash.cc b/ash/screen_ash.cc
|
| index f512ff6dbacf066545e3fd6f8885b3347ff5549e..ad679a15615b645dd62882635741f37f52b2bd96 100644
|
| --- a/ash/screen_ash.cc
|
| +++ b/ash/screen_ash.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "ash/screen_ash.h"
|
|
|
| +#include "ash/shell.h"
|
| +#include "ash/wm/shelf_layout_manager.h"
|
| #include "base/logging.h"
|
| #include "ui/aura/env.h"
|
| #include "ui/aura/monitor.h"
|
| @@ -29,6 +31,16 @@ ScreenAsh::ScreenAsh(aura::RootWindow* root_window)
|
| ScreenAsh::~ScreenAsh() {
|
| }
|
|
|
| +// static
|
| +gfx::Rect ScreenAsh::GetMaximizedWindowBounds(aura::Window* window) {
|
| + return Shell::GetInstance()->shelf()->GetMaximizedWindowBounds(window);
|
| +}
|
| +
|
| +// static
|
| +gfx::Rect ScreenAsh::GetUnmaximizedWorkAreaBounds(aura::Window* window) {
|
| + return Shell::GetInstance()->shelf()->GetUnmaximizedWorkAreaBounds(window);
|
| +}
|
| +
|
| gfx::Point ScreenAsh::GetCursorScreenPointImpl() {
|
| return root_window_->last_mouse_location();
|
| }
|
|
|