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 UI_GFX_SCREEN_H_ | 5 #ifndef UI_GFX_SCREEN_H_ |
6 #define UI_GFX_SCREEN_H_ | 6 #define UI_GFX_SCREEN_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "ui/gfx/display.h" | 11 #include "ui/gfx/display.h" |
| 12 #include "ui/gfx/geometry/point.h" |
12 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 #include "ui/gfx/point.h" | |
15 #include "ui/gfx/screen_type_delegate.h" | 15 #include "ui/gfx/screen_type_delegate.h" |
16 | 16 |
17 namespace gfx { | 17 namespace gfx { |
18 class DisplayObserver; | 18 class DisplayObserver; |
19 class Rect; | 19 class Rect; |
20 | 20 |
21 // A utility class for getting various info about screen size, displays, | 21 // A utility class for getting various info about screen size, displays, |
22 // cursor position, etc. | 22 // cursor position, etc. |
23 // | 23 // |
24 // Note that this class does not represent an individual display connected to a | 24 // Note that this class does not represent an individual display connected to a |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 private: | 91 private: |
92 DISALLOW_COPY_AND_ASSIGN(Screen); | 92 DISALLOW_COPY_AND_ASSIGN(Screen); |
93 }; | 93 }; |
94 | 94 |
95 Screen* CreateNativeScreen(); | 95 Screen* CreateNativeScreen(); |
96 | 96 |
97 } // namespace gfx | 97 } // namespace gfx |
98 | 98 |
99 #endif // UI_GFX_SCREEN_H_ | 99 #endif // UI_GFX_SCREEN_H_ |
OLD | NEW |