| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ | 5 #ifndef ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ |
| 6 #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ | 6 #define ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 const std::vector<aura::Window*>& root_windows, | 27 const std::vector<aura::Window*>& root_windows, |
| 28 gfx::Point* point_in_host, | 28 gfx::Point* point_in_host, |
| 29 aura::Window** target_window); | 29 aura::Window** target_window); |
| 30 | 30 |
| 31 ScreenPositionController() {} | 31 ScreenPositionController() {} |
| 32 ~ScreenPositionController() override {} | 32 ~ScreenPositionController() override {} |
| 33 | 33 |
| 34 // aura::client::ScreenPositionClient overrides: | 34 // aura::client::ScreenPositionClient overrides: |
| 35 void ConvertPointToScreen(const aura::Window* window, | 35 void ConvertPointToScreen(const aura::Window* window, |
| 36 gfx::Point* point) override; | 36 gfx::Point* point) override; |
| 37 void ConvertPointToScreenF(const aura::Window* window, |
| 38 gfx::PointF* point) override; |
| 37 void ConvertPointFromScreen(const aura::Window* window, | 39 void ConvertPointFromScreen(const aura::Window* window, |
| 38 gfx::Point* point) override; | 40 gfx::Point* point) override; |
| 41 void ConvertPointFromScreenF(const aura::Window* window, |
| 42 gfx::PointF* point) override; |
| 39 void ConvertHostPointToScreen(aura::Window* window, | 43 void ConvertHostPointToScreen(aura::Window* window, |
| 40 gfx::Point* point) override; | 44 gfx::Point* point) override; |
| 41 void SetBounds(aura::Window* window, | 45 void SetBounds(aura::Window* window, |
| 42 const gfx::Rect& bounds, | 46 const gfx::Rect& bounds, |
| 43 const display::Display& display) override; | 47 const display::Display& display) override; |
| 44 | 48 |
| 45 private: | 49 private: |
| 46 DISALLOW_COPY_AND_ASSIGN(ScreenPositionController); | 50 DISALLOW_COPY_AND_ASSIGN(ScreenPositionController); |
| 47 }; | 51 }; |
| 48 | 52 |
| 49 } // namespace ash | 53 } // namespace ash |
| 50 | 54 |
| 51 #endif // ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ | 55 #endif // ASH_DISPLAY_SCREEN_POSITION_CONTROLLER_H_ |
| OLD | NEW |