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_ANDROID_DEVICE_DISPLAY_INFO_H_ | 5 #ifndef UI_GFX_ANDROID_DEVICE_DISPLAY_INFO_H_ |
6 #define UI_GFX_ANDROID_DEVICE_DISPLAY_INFO_H_ | 6 #define UI_GFX_ANDROID_DEVICE_DISPLAY_INFO_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "ui/gfx/gfx_export.h" | 12 #include "ui/gfx/gfx_export.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 | 15 |
16 // Facilitates access to device information typically only | 16 // Facilitates access to device information typically only |
17 // available using the Android SDK, including Display properties. | 17 // available using the Android SDK, including Display properties. |
18 class GFX_EXPORT DeviceDisplayInfo { | 18 class GFX_EXPORT DeviceDisplayInfo { |
19 public: | 19 public: |
20 DeviceDisplayInfo(); | 20 DeviceDisplayInfo(); |
21 ~DeviceDisplayInfo(); | 21 ~DeviceDisplayInfo(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // See DeviceDispayInfo.java for more information. | 56 // See DeviceDispayInfo.java for more information. |
57 int GetRotationDegrees() const; | 57 int GetRotationDegrees() const; |
58 | 58 |
59 private: | 59 private: |
60 DISALLOW_COPY_AND_ASSIGN(DeviceDisplayInfo); | 60 DISALLOW_COPY_AND_ASSIGN(DeviceDisplayInfo); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace gfx | 63 } // namespace gfx |
64 | 64 |
65 #endif // UI_GFX_ANDROID_DEVICE_DISPLAY_INFO_H_ | 65 #endif // UI_GFX_ANDROID_DEVICE_DISPLAY_INFO_H_ |
OLD | NEW |