Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(661)

Unified Diff: ui/display/chromeos/test/test_display_snapshot.cc

Issue 2407153008: Delete TestDisplaySnapshot and update tests. (Closed)
Patch Set: Rebase and cleanup. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/display/chromeos/test/test_display_snapshot.cc
diff --git a/ui/display/chromeos/test/test_display_snapshot.cc b/ui/display/chromeos/test/test_display_snapshot.cc
deleted file mode 100644
index fbcc4a46c81a9f1431696c1b26d357da87b4ae79..0000000000000000000000000000000000000000
--- a/ui/display/chromeos/test/test_display_snapshot.cc
+++ /dev/null
@@ -1,54 +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.
-
-#include "ui/display/chromeos/test/test_display_snapshot.h"
-
-namespace ui {
-TestDisplaySnapshot::TestDisplaySnapshot()
- : DisplaySnapshot(0,
- gfx::Point(0, 0),
- gfx::Size(0, 0),
- DISPLAY_CONNECTION_TYPE_UNKNOWN,
- false,
- false,
- false,
- std::string(),
- base::FilePath(),
- std::vector<std::unique_ptr<const DisplayMode>>(),
- std::vector<uint8_t>(),
- NULL,
- NULL) {}
-
-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)
- : DisplaySnapshot(display_id,
- origin,
- physical_size,
- type,
- is_aspect_preserving_scaling,
- false,
- has_color_correction_matrix,
- std::string(),
- base::FilePath(),
- std::move(modes),
- std::vector<uint8_t>(),
- current_mode,
- native_mode) {
- product_id_ = product_id;
-}
-
-TestDisplaySnapshot::~TestDisplaySnapshot() {}
-
-std::string TestDisplaySnapshot::ToString() const { return ""; }
-
-} // namespace ui
« no previous file with comments | « ui/display/chromeos/test/test_display_snapshot.h ('k') | ui/display/chromeos/update_display_configuration_task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698