| 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_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ | |
| 6 #define UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "ui/display/types/display_mode.h" | |
| 10 | |
| 11 namespace ui { | |
| 12 | |
| 13 struct DisplayMode_Params; | |
| 14 | |
| 15 class DisplayModeProxy : public display::DisplayMode { | |
| 16 public: | |
| 17 explicit DisplayModeProxy(const DisplayMode_Params& params); | |
| 18 ~DisplayModeProxy() override; | |
| 19 std::unique_ptr<display::DisplayMode> Clone() const override; | |
| 20 | |
| 21 private: | |
| 22 DisplayModeProxy(const gfx::Size& size, bool interlaced, float refresh_rate); | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(DisplayModeProxy); | |
| 25 }; | |
| 26 | |
| 27 } // namespace ui | |
| 28 | |
| 29 #endif // UI_OZONE_COMMON_DISPLAY_MODE_PROXY_H_ | |
| OLD | NEW |