Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ash / display / screen_position_controller.h
blob95271c1446be1c286a71adc4d11df8923e9ffc16
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_
6 #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_
8 #include "base/basictypes.h"
9 #include "ui/aura/client/screen_position_client.h"
11 namespace ash {
13 class ScreenPositionController : public aura::client::ScreenPositionClient {
14 public:
15 ScreenPositionController() {}
16 virtual ~ScreenPositionController() {}
18 // aura::client::ScreenPositionClient overrides:
19 virtual void ConvertPointToScreen(const aura::Window* window,
20 gfx::Point* point) OVERRIDE;
21 virtual void ConvertPointFromScreen(const aura::Window* window,
22 gfx::Point* point) OVERRIDE;
23 virtual void ConvertHostPointToScreen(aura::Window* window,
24 gfx::Point* point) OVERRIDE;
25 virtual void SetBounds(aura::Window* window,
26 const gfx::Rect& bounds,
27 const gfx::Display& display) OVERRIDE;
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ScreenPositionController);
33 } // namespace ash
35 #endif // ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_