| Index: ash/screen_ash.h
|
| diff --git a/ash/screen_ash.h b/ash/screen_ash.h
|
| index ea2021f68519babe2aefb5820ec91804b26b41e2..030c45ca8662f44ae8867e2f236d5baa3392eb1c 100644
|
| --- a/ash/screen_ash.h
|
| +++ b/ash/screen_ash.h
|
| @@ -9,7 +9,9 @@
|
| #include "base/compiler_specific.h"
|
| #include "ash/ash_export.h"
|
| #include "ui/gfx/insets.h"
|
| -#include "ui/gfx/screen.h"
|
| +#include "ui/gfx/point.h"
|
| +#include "ui/gfx/rect.h"
|
| +#include "ui/gfx/screen_impl.h"
|
|
|
| namespace aura {
|
| class RootWindow;
|
| @@ -19,7 +21,7 @@ namespace ash {
|
|
|
| // Aura implementation of gfx::Screen. Implemented here to avoid circular
|
| // dependencies.
|
| -class ASH_EXPORT ScreenAsh : public gfx::Screen {
|
| +class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl {
|
| public:
|
| explicit ScreenAsh(aura::RootWindow* root_window);
|
| virtual ~ScreenAsh();
|
| @@ -32,18 +34,18 @@ class ASH_EXPORT ScreenAsh : public gfx::Screen {
|
| static gfx::Rect GetUnmaximizedWorkAreaBounds(aura::Window* window);
|
|
|
| protected:
|
| - virtual gfx::Point GetCursorScreenPointImpl() OVERRIDE;
|
| - virtual gfx::Rect GetMonitorWorkAreaNearestWindowImpl(
|
| - gfx::NativeView view) OVERRIDE;
|
| - virtual gfx::Rect GetMonitorAreaNearestWindowImpl(
|
| + virtual gfx::Point GetCursorScreenPoint() OVERRIDE;
|
| + virtual gfx::NativeWindow GetWindowAtCursorScreenPoint() OVERRIDE;
|
| +
|
| + virtual int GetNumMonitors() OVERRIDE;
|
| + virtual const gfx::Monitor* GetMonitorNearestWindow(
|
| gfx::NativeView view) OVERRIDE;
|
| - virtual gfx::Rect GetMonitorWorkAreaNearestPointImpl(
|
| + virtual const gfx::Monitor* GetMonitorNearestPoint(
|
| const gfx::Point& point) OVERRIDE;
|
| - virtual gfx::Rect GetMonitorAreaNearestPointImpl(
|
| - const gfx::Point& point) OVERRIDE;
|
| - virtual gfx::NativeWindow GetWindowAtCursorScreenPointImpl() OVERRIDE;
|
| - virtual gfx::Size GetPrimaryMonitorSizeImpl() OVERRIDE;
|
| - virtual int GetNumMonitorsImpl() OVERRIDE;
|
| + virtual const gfx::Monitor* GetPrimaryMonitor() OVERRIDE;
|
| +
|
| + virtual void AddMonitorObserver(gfx::MonitorObserver* observer) OVERRIDE;
|
| + virtual void RemoveMonitorObserver(gfx::MonitorObserver* observer) OVERRIDE;
|
|
|
| private:
|
| aura::RootWindow* root_window_;
|
|
|