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_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ | 5 #ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |
6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ | 6 #define UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |
7 | 7 |
8 #include "ui/display/chromeos/display_snapshot.h" | 8 #include "ui/display/types/chromeos/display_snapshot.h" |
9 | 9 |
10 namespace ui { | 10 namespace ui { |
11 | 11 |
12 class DISPLAY_EXPORT TestDisplaySnapshot : public DisplaySnapshot { | 12 class DISPLAY_EXPORT TestDisplaySnapshot : public DisplaySnapshot { |
13 public: | 13 public: |
14 TestDisplaySnapshot(); | 14 TestDisplaySnapshot(); |
15 TestDisplaySnapshot(int64_t display_id, | 15 TestDisplaySnapshot(int64_t display_id, |
16 bool has_proper_display_id, | 16 bool has_proper_display_id, |
17 const gfx::Point& origin, | 17 const gfx::Point& origin, |
18 const gfx::Size& physical_size, | 18 const gfx::Size& physical_size, |
(...skipping 21 matching lines...) Expand all Loading... |
40 // DisplaySnapshot overrides: | 40 // DisplaySnapshot overrides: |
41 virtual std::string ToString() const OVERRIDE; | 41 virtual std::string ToString() const OVERRIDE; |
42 | 42 |
43 private: | 43 private: |
44 DISALLOW_COPY_AND_ASSIGN(TestDisplaySnapshot); | 44 DISALLOW_COPY_AND_ASSIGN(TestDisplaySnapshot); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace ui | 47 } // namespace ui |
48 | 48 |
49 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ | 49 #endif // UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |
OLD | NEW |