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

Unified Diff: trunk/src/ash/display/display_manager.h

Issue 161743002: Revert 250798 "Revert of Read compositor VSync information from ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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 | « trunk/src/ash/display/display_info_unittest.cc ('k') | trunk/src/ash/display/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ash/display/display_manager.h
===================================================================
--- trunk/src/ash/display/display_manager.h (revision 250808)
+++ trunk/src/ash/display/display_manager.h (working copy)
@@ -176,9 +176,9 @@
const gfx::Insets* overscan_insets,
const gfx::Size& resolution_in_pixels);
- // Returns the display's selected resolution.
- bool GetSelectedResolutionForDisplayId(int64 display_id,
- gfx::Size* resolution_out) const;
+ // Returns the display's selected mode.
+ bool GetSelectedModeForDisplayId(int64 display_id,
+ DisplayMode* mode_out) const;
// Tells if the virtual resolution feature is enabled.
bool IsDisplayUIScalingEnabled() const;
@@ -340,8 +340,8 @@
// The mapping from the display ID to its internal data.
std::map<int64, DisplayInfo> display_info_;
- // Selected resolutions in pixels for displays. Key is the displays' ID.
- std::map<int64, gfx::Size> resolutions_;
+ // Selected display modes for displays. Key is the displays' ID.
+ std::map<int64, DisplayMode> display_modes_;
// When set to true, the host window's resize event updates
// the display's size. This is set to true when running on
« no previous file with comments | « trunk/src/ash/display/display_info_unittest.cc ('k') | trunk/src/ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698