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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « ui/display/BUILD.gn ('k') | ui/display/display_snapshot_mojo.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_DISPLAY_DISPLAY_SNAPSHOT_MOJO_H_
6 #define UI_DISPLAY_DISPLAY_SNAPSHOT_MOJO_H_
7
8 #include <memory>
9
10 #include "base/macros.h"
11 #include "ui/display/display_export.h"
12 #include "ui/display/types/display_snapshot.h"
13
14 namespace display {
15
16 // DisplaySnapshot implementation that can be used with Mojo IPC.
17 class DISPLAY_EXPORT DisplaySnapshotMojo : public DisplaySnapshot {
18 public:
19 DisplaySnapshotMojo(int64_t display_id,
20 const gfx::Point& origin,
21 const gfx::Size& physical_size,
22 DisplayConnectionType type,
23 bool is_aspect_preserving_scaling,
24 bool has_overscan,
25 bool has_color_correction_matrix,
26 std::string display_name,
27 const base::FilePath& sys_path,
28 int64_t product_id,
29 DisplayModeList modes,
30 const std::vector<uint8_t>& edid,
31 const DisplayMode* current_mode,
32 const DisplayMode* native_mode,
33 const gfx::Size& maximum_cursor_size);
34 ~DisplaySnapshotMojo() override;
35 std::unique_ptr<DisplaySnapshotMojo> Clone() const;
36
37 // DisplaySnapshot:
38 std::string ToString() const override;
39
40 private:
41 DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotMojo);
42 };
43
44 } // namespace display
45
46 #endif // UI_DISPLAY_DISPLAY_SNAPSHOT_MOJO_H_
OLDNEW
« 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