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