| 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_DISPLAY_DISPLAY_H_ | 5 #ifndef UI_DISPLAY_DISPLAY_H_ |
| 6 #define UI_DISPLAY_DISPLAY_H_ | 6 #define UI_DISPLAY_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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 int64_t id_; | 202 int64_t id_; |
| 203 gfx::Rect bounds_; | 203 gfx::Rect bounds_; |
| 204 // If non-empty, then should be same size as |bounds_|. Used to avoid rounding | 204 // If non-empty, then should be same size as |bounds_|. Used to avoid rounding |
| 205 // errors. | 205 // errors. |
| 206 gfx::Size size_in_pixels_; | 206 gfx::Size size_in_pixels_; |
| 207 gfx::Rect work_area_; | 207 gfx::Rect work_area_; |
| 208 float device_scale_factor_; | 208 float device_scale_factor_; |
| 209 Rotation rotation_ = ROTATE_0; | 209 Rotation rotation_ = ROTATE_0; |
| 210 TouchSupport touch_support_ = TOUCH_SUPPORT_UNKNOWN; | 210 TouchSupport touch_support_ = TOUCH_SUPPORT_UNKNOWN; |
| 211 gfx::Size maximum_cursor_size_; | 211 gfx::Size maximum_cursor_size_; |
| 212 // NOTE: this is not currently written to the mojom as it is not used in |
| 213 // aura. |
| 212 gfx::ICCProfile icc_profile_; | 214 gfx::ICCProfile icc_profile_; |
| 213 int color_depth_; | 215 int color_depth_; |
| 214 int depth_per_component_; | 216 int depth_per_component_; |
| 215 bool is_monochrome_ = false; | 217 bool is_monochrome_ = false; |
| 216 }; | 218 }; |
| 217 | 219 |
| 218 } // namespace display | 220 } // namespace display |
| 219 | 221 |
| 220 #endif // UI_DISPLAY_DISPLAY_H_ | 222 #endif // UI_DISPLAY_DISPLAY_H_ |
| OLD | NEW |