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