| 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_SCREEN_ASH_H_ | 5 #ifndef ASH_SCREEN_ASH_H_ |
| 6 #define ASH_SCREEN_ASH_H_ | 6 #define ASH_SCREEN_ASH_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/gfx/insets.h" | |
| 11 #include "ui/gfx/rect.h" | |
| 12 #include "ui/gfx/screen_impl.h" | 10 #include "ui/gfx/screen_impl.h" |
| 13 | 11 |
| 12 namespace gfx { |
| 13 class Rect; |
| 14 } |
| 15 |
| 14 namespace ash { | 16 namespace ash { |
| 15 | 17 |
| 16 // Aura implementation of gfx::Screen. Implemented here to avoid circular | 18 // Aura implementation of gfx::Screen. Implemented here to avoid circular |
| 17 // dependencies. | 19 // dependencies. |
| 18 class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl { | 20 class ASH_EXPORT ScreenAsh : public gfx::ScreenImpl { |
| 19 public: | 21 public: |
| 20 ScreenAsh(); | 22 ScreenAsh(); |
| 21 virtual ~ScreenAsh(); | 23 virtual ~ScreenAsh(); |
| 22 | 24 |
| 23 // Returns the bounds for maximized windows in parent coordinates. | 25 // Returns the bounds for maximized windows in parent coordinates. |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 const gfx::Rect& match_rect) const OVERRIDE; | 59 const gfx::Rect& match_rect) const OVERRIDE; |
| 58 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; | 60 virtual gfx::Display GetPrimaryDisplay() const OVERRIDE; |
| 59 | 61 |
| 60 private: | 62 private: |
| 61 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); | 63 DISALLOW_COPY_AND_ASSIGN(ScreenAsh); |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } // namespace ash | 66 } // namespace ash |
| 65 | 67 |
| 66 #endif // ASH_SCREEN_ASH_H_ | 68 #endif // ASH_SCREEN_ASH_H_ |
| OLD | NEW |