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

Unified Diff: ui/display/display_snapshot_mojo.h

Issue 2738043004: Relocate display_snapshot_mojo (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/display_snapshot_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display_snapshot_mojo.h
diff --git a/ui/display/display_snapshot_mojo.h b/ui/display/display_snapshot_mojo.h
deleted file mode 100644
index fb669fe21f03278f4b407c59e5a7f54c2b11466e..0000000000000000000000000000000000000000
--- a/ui/display/display_snapshot_mojo.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2017 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_DISPLAY_SNAPSHOT_MOJO_H_
-#define UI_DISPLAY_DISPLAY_SNAPSHOT_MOJO_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "ui/display/display_export.h"
-#include "ui/display/types/display_snapshot.h"
-
-namespace display {
-
-// DisplaySnapshot implementation that can be used with Mojo IPC.
-class DISPLAY_EXPORT DisplaySnapshotMojo : public DisplaySnapshot {
- public:
- DisplaySnapshotMojo(int64_t display_id,
- const gfx::Point& origin,
- const gfx::Size& physical_size,
- DisplayConnectionType type,
- bool is_aspect_preserving_scaling,
- bool has_overscan,
- bool has_color_correction_matrix,
- std::string display_name,
- const base::FilePath& sys_path,
- int64_t product_id,
- DisplayModeList modes,
- const std::vector<uint8_t>& edid,
- const DisplayMode* current_mode,
- const DisplayMode* native_mode,
- const gfx::Size& maximum_cursor_size);
- ~DisplaySnapshotMojo() override;
- std::unique_ptr<DisplaySnapshotMojo> Clone() const;
-
- // DisplaySnapshot:
- std::string ToString() const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotMojo);
-};
-
-} // namespace display
-
-#endif // UI_DISPLAY_DISPLAY_SNAPSHOT_MOJO_H_
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/display_snapshot_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698