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

Unified Diff: ash/display/display_manager.h

Issue 417113012: Introduce user customization of external HighDPI mode for 4K monitor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: polish Created 6 years, 5 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
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index cb1850722ea187170ce1e49ebef318f509a5737b..16acee420a2ea160f15ec8991cfdcd4574de0413 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -162,11 +162,17 @@ class ASH_EXPORT DisplayManager
void SetDisplayRotation(int64 display_id, gfx::Display::Rotation rotation);
// Sets the display's ui scale.
+ // TODO(mukai): remove this and merge into SetDisplayMode.
void SetDisplayUIScale(int64 display_id, float ui_scale);
// Sets the display's resolution.
+ // TODO(mukai): remove this and merge into SetDisplayMode.
void SetDisplayResolution(int64 display_id, const gfx::Size& resolution);
+ // Sets the external display's configuration, including resolution change,
+ // ui-scale change, and device scale factor change.
+ void SetDisplayMode(int64 display_id, const DisplayMode& display_mode);
+
// Register per display properties. |overscan_insets| is NULL if
// the display has no custom overscan insets.
void RegisterDisplayProperty(int64 display_id,

Powered by Google App Engine
This is Rietveld 408576698