OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UTIL_H_ | 5 #ifndef ASH_SCREEN_UTIL_H_ |
6 #define ASH_SCREEN_UTIL_H_ | 6 #define ASH_SCREEN_UTIL_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 const gfx::Rect& rect); | 49 const gfx::Rect& rect); |
50 | 50 |
51 // Returns a gfx::Display object for secondary display. Returns | 51 // Returns a gfx::Display object for secondary display. Returns |
52 // invalid display if there is no secondary display connected. | 52 // invalid display if there is no secondary display connected. |
53 static const gfx::Display& GetSecondaryDisplay(); | 53 static const gfx::Display& GetSecondaryDisplay(); |
54 | 54 |
55 // Returns a gfx::Display object for the specified id. Returns | 55 // Returns a gfx::Display object for the specified id. Returns |
56 // invalid display if no such display is connected. | 56 // invalid display if no such display is connected. |
57 static const gfx::Display& GetDisplayForId(int64 display_id); | 57 static const gfx::Display& GetDisplayForId(int64 display_id); |
58 | 58 |
59 private: | 59 private: |
60 ScreenUtil() {} | 60 ScreenUtil() {} |
61 ~ScreenUtil() {} | 61 ~ScreenUtil() {} |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(ScreenUtil); | 63 DISALLOW_COPY_AND_ASSIGN(ScreenUtil); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace ash | 66 } // namespace ash |
67 | 67 |
68 #endif // ASH_SCREEN_UTIL_H_ | 68 #endif // ASH_SCREEN_UTIL_H_ |
OLD | NEW |