| 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_SNAPSHOT_PROXY_H_ | 5 #ifndef UI_OZONE_COMMON_DISPLAY_SNAPSHOT_PROXY_H_ |
| 6 #define UI_OZONE_COMMON_DISPLAY_SNAPSHOT_PROXY_H_ | 6 #define UI_OZONE_COMMON_DISPLAY_SNAPSHOT_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "ui/display/types/display_snapshot.h" | 9 #include "ui/display/types/display_snapshot.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 | 12 |
| 13 struct DisplaySnapshot_Params; | 13 struct DisplaySnapshot_Params; |
| 14 | 14 |
| 15 class DisplaySnapshotProxy : public DisplaySnapshot { | 15 class DisplaySnapshotProxy : public display::DisplaySnapshot { |
| 16 public: | 16 public: |
| 17 DisplaySnapshotProxy(const DisplaySnapshot_Params& params); | 17 DisplaySnapshotProxy(const DisplaySnapshot_Params& params); |
| 18 ~DisplaySnapshotProxy() override; | 18 ~DisplaySnapshotProxy() override; |
| 19 | 19 |
| 20 // DisplaySnapshot override: | 20 // display::DisplaySnapshot override: |
| 21 std::string ToString() const override; | 21 std::string ToString() const override; |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 std::string string_representation_; | 24 std::string string_representation_; |
| 25 | 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotProxy); | 26 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotProxy); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace ui | 29 } // namespace ui |
| 30 | 30 |
| 31 #endif // UI_OZONE_COMMON_DISPLAY_SNAPSHOT_PROXY_H_ | 31 #endif // UI_OZONE_COMMON_DISPLAY_SNAPSHOT_PROXY_H_ |
| OLD | NEW |