| Index: ui/aura/test/single_monitor_manager.h
|
| diff --git a/ui/aura/test/single_monitor_manager.h b/ui/aura/test/single_monitor_manager.h
|
| index 58b65ef0c8b5be544730c228b4c075cc062b33f4..277cc76bc7660e1fa774f5515d922f5967e9b6b0 100644
|
| --- a/ui/aura/test/single_monitor_manager.h
|
| +++ b/ui/aura/test/single_monitor_manager.h
|
| @@ -12,10 +12,13 @@
|
| #include "ui/aura/window_observer.h"
|
|
|
| namespace gfx {
|
| +class Monitor;
|
| class Rect;
|
| }
|
|
|
| namespace aura {
|
| +class MonitorAura;
|
| +
|
| namespace test {
|
|
|
| // A monitor manager assuming there is one monitor.
|
| @@ -27,16 +30,18 @@ class SingleMonitorManager : public MonitorManager,
|
|
|
| // MonitorManager overrides:
|
| virtual void OnNativeMonitorsChanged(
|
| - const std::vector<const Monitor*>& monitors) OVERRIDE;
|
| + const std::vector<const MonitorAura*>& monitors) OVERRIDE;
|
| virtual RootWindow* CreateRootWindowForMonitor(
|
| - Monitor* monitor) OVERRIDE;
|
| - virtual const Monitor* GetMonitorNearestWindow(
|
| + MonitorAura* monitor) OVERRIDE;
|
| + virtual MonitorAura* GetMonitorAt(size_t index) OVERRIDE;
|
| +
|
| + virtual size_t GetNumMonitors() const OVERRIDE;
|
| +
|
| + virtual const MonitorAura* GetMonitorNearestWindow(
|
| const Window* window) const OVERRIDE;
|
| - virtual const Monitor* GetMonitorNearestPoint(
|
| + virtual MonitorAura* GetMonitorNearestWindow(const Window* window) OVERRIDE;
|
| + virtual const MonitorAura* GetMonitorNearestPoint(
|
| const gfx::Point& point) const OVERRIDE;
|
| - virtual Monitor* GetMonitorAt(size_t index) OVERRIDE;
|
| - virtual size_t GetNumMonitors() const OVERRIDE;
|
| - virtual Monitor* GetMonitorNearestWindow(const Window* window) OVERRIDE;
|
|
|
| // WindowObserver overrides:
|
| virtual void OnWindowBoundsChanged(Window* window,
|
| @@ -48,7 +53,7 @@ class SingleMonitorManager : public MonitorManager,
|
| void Update(const gfx::Size size);
|
|
|
| RootWindow* root_window_;
|
| - scoped_ptr<Monitor> monitor_;
|
| + scoped_ptr<MonitorAura> monitor_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(SingleMonitorManager);
|
| };
|
|
|