Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_DISPLAY_CHROMEOS_DISPLAY_MODE_H_ | |
| 6 #define UI_DISPLAY_CHROMEOS_DISPLAY_MODE_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/display/display_export.h" | |
| 10 #include "ui/gfx/geometry/size.h" | |
| 11 | |
| 12 namespace ui { | |
| 13 | |
| 14 class DISPLAY_EXPORT DisplayMode { | |
|
Daniel Erat
2014/03/05 01:56:12
nit: add a short comment describing what this corr
dnicoara
2014/03/05 17:29:25
Done.
| |
| 15 public: | |
| 16 DisplayMode(const gfx::Size& size, bool interlaced, float refresh_rate); | |
| 17 virtual ~DisplayMode(); | |
| 18 | |
| 19 const gfx::Size& size() const { return size_; } | |
| 20 bool is_interlaced() const { return is_interlaced_; } | |
| 21 float refresh_rate() const { return refresh_rate_; } | |
| 22 | |
| 23 private: | |
| 24 gfx::Size size_; | |
| 25 bool is_interlaced_; | |
| 26 float refresh_rate_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(DisplayMode); | |
| 29 }; | |
| 30 | |
| 31 } // namespace ui | |
| 32 | |
| 33 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_MODE_H_ | |
| OLD | NEW |