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

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

Issue 1309273005: native_viewport support for ozone (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 years, 4 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 | « services/native_viewport/platform_viewport_ozone.cc ('k') | ui/display/types/display_snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/types/display_snapshot.h
diff --git a/ui/display/types/display_snapshot.h b/ui/display/types/display_snapshot.h
index c59ecded646827b2c5d7e396bb723a72b4cf4d0b..74767b414a2f65da4df3579a8e0c296b987c132c 100644
--- a/ui/display/types/display_snapshot.h
+++ b/ui/display/types/display_snapshot.h
@@ -23,9 +23,6 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
const gfx::Point& origin,
const gfx::Size& physical_size,
DisplayConnectionType type,
- bool is_aspect_preserving_scaling,
- bool has_overscan,
- std::string display_name,
const std::vector<const DisplayMode*>& modes,
const DisplayMode* current_mode,
const DisplayMode* native_mode);
@@ -34,11 +31,6 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
const gfx::Point& origin() const { return origin_; }
const gfx::Size& physical_size() const { return physical_size_; }
ui::DisplayConnectionType type() const { return type_; }
- bool is_aspect_preserving_scaling() const {
- return is_aspect_preserving_scaling_;
- }
- bool has_overscan() const { return has_overscan_; }
- std::string display_name() const { return display_name_; }
int64_t display_id() const { return display_id_; }
@@ -69,12 +61,6 @@ class DISPLAY_TYPES_EXPORT DisplaySnapshot {
DisplayConnectionType type_;
- bool is_aspect_preserving_scaling_;
-
- bool has_overscan_;
-
- std::string display_name_;
-
std::vector<const DisplayMode*> modes_; // Not owned.
// Mode currently being used by the output.
« no previous file with comments | « services/native_viewport/platform_viewport_ozone.cc ('k') | ui/display/types/display_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698