| 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_DISPLAY_H_ | 5 #ifndef UI_GFX_DISPLAY_H_ |
| 6 #define UI_GFX_DISPLAY_H_ | 6 #define UI_GFX_DISPLAY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 147 |
| 148 private: | 148 private: |
| 149 int64_t id_; | 149 int64_t id_; |
| 150 Rect bounds_; | 150 Rect bounds_; |
| 151 Rect work_area_; | 151 Rect work_area_; |
| 152 float device_scale_factor_; | 152 float device_scale_factor_; |
| 153 Rotation rotation_; | 153 Rotation rotation_; |
| 154 TouchSupport touch_support_; | 154 TouchSupport touch_support_; |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 // This is declared here for use in gtest-based unit tests but is defined in | |
| 158 // the gfx_test_support target. Depend on that to use this in your unit test. | |
| 159 // This should not be used in production code - call ToString() instead. | |
| 160 void PrintTo(const Display& display, ::std::ostream* os); | |
| 161 | |
| 162 } // namespace gfx | 157 } // namespace gfx |
| 163 | 158 |
| 164 #endif // UI_GFX_DISPLAY_H_ | 159 #endif // UI_GFX_DISPLAY_H_ |
| OLD | NEW |