Index: ui/display/chromeos/test/test_display_snapshot.h |
diff --git a/ui/display/chromeos/test/test_display_snapshot.h b/ui/display/chromeos/test/test_display_snapshot.h |
deleted file mode 100644 |
index 00b7483e0ae419aa2606c0d66d9f7a03e6d99dcc..0000000000000000000000000000000000000000 |
--- a/ui/display/chromeos/test/test_display_snapshot.h |
+++ /dev/null |
@@ -1,50 +0,0 @@ |
-// Copyright 2014 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#ifndef UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |
-#define UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |
- |
-#include <stdint.h> |
- |
-#include "base/macros.h" |
-#include "ui/display/display_export.h" |
-#include "ui/display/types/display_snapshot.h" |
- |
-namespace ui { |
- |
-class DISPLAY_EXPORT TestDisplaySnapshot : public DisplaySnapshot { |
- public: |
- TestDisplaySnapshot(); |
- TestDisplaySnapshot(int64_t display_id, |
- const gfx::Point& origin, |
- const gfx::Size& physical_size, |
- DisplayConnectionType type, |
- bool is_aspect_preserving_scaling, |
- int64_t product_id, |
- bool has_color_correction_matrix, |
- std::vector<std::unique_ptr<const DisplayMode>> modes, |
- const DisplayMode* current_mode, |
- const DisplayMode* native_mode); |
- ~TestDisplaySnapshot() override; |
- |
- void set_type(DisplayConnectionType type) { type_ = type; } |
- void set_modes(std::vector<std::unique_ptr<const DisplayMode>> modes) { |
- modes_ = std::move(modes); |
- } |
- void set_native_mode(const ui::DisplayMode* mode) { native_mode_ = mode; } |
- void set_is_aspect_preserving_scaling(bool state) { |
- is_aspect_preserving_scaling_ = state; |
- } |
- void set_display_id(int64_t id) { display_id_ = id; } |
- |
- // DisplaySnapshot overrides: |
- std::string ToString() const override; |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(TestDisplaySnapshot); |
-}; |
- |
-} // namespace ui |
- |
-#endif // UI_DISPLAY_CHROMEOS_TEST_TEST_DISPLAY_SNAPSHOT_H_ |