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

Unified Diff: ui/display/types/display_snapshot_mojo.h

Issue 2930163002: Convert ozone/drm DisplaySnapshot_Param to DisplaySnapshotMojo (Closed)
Patch Set: review nits Created 3 years, 6 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 | « no previous file | ui/display/types/display_snapshot_mojo.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/types/display_snapshot_mojo.h
diff --git a/ui/display/types/display_snapshot_mojo.h b/ui/display/types/display_snapshot_mojo.h
index 369ffb8af69181cad973b823196328de2f047e28..d68f93b6c18dbebcada916ed34b1a9ef80d43a88 100644
--- a/ui/display/types/display_snapshot_mojo.h
+++ b/ui/display/types/display_snapshot_mojo.h
@@ -35,12 +35,30 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshotMojo : public DisplaySnapshot {
const DisplayMode* current_mode,
const DisplayMode* native_mode,
const gfx::Size& maximum_cursor_size);
+
+ 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,
+ DisplayModeList modes,
+ const std::vector<uint8_t>& edid,
+ const DisplayMode* current_mode,
+ const DisplayMode* native_mode,
+ std::string string_representation);
+
~DisplaySnapshotMojo() override;
- // DisplaySnapshot:
+ // display::DisplaySnapshot override:
std::string ToString() const override;
private:
+ std::string string_representation_;
+
DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotMojo);
};
« no previous file with comments | « no previous file | ui/display/types/display_snapshot_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698