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

Unified Diff: ash/display/display_manager.h

Issue 2426103004: Specify a default display UI scale to reset the zoom to (Closed)
Patch Set: Working test Created 4 years, 2 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 | « ash/display/cursor_window_controller_unittest.cc ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index 60c84089d7de2ef88d25b10656d52f090475b5c1..ac41d46cee3bbb14221440978168c40383e8cad1 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -162,9 +162,9 @@ class ASH_EXPORT DisplayManager
display::Display::Rotation rotation,
display::Display::RotationSource source);
- // Sets the UI scale for the |display_id|. Returns false if the
- // display_id is not an internal display.
- bool SetDisplayUIScale(int64_t display_id, float scale);
+ // Resets the UI scale of the display with |display_id| to the one defined in
+ // the default mode.
+ bool ResetDisplayToDefaultMode(int64_t display_id);
// Sets the external display's configuration, including resolution change,
// ui-scale change, and device scale factor change. Returns true if it changes
« no previous file with comments | « ash/display/cursor_window_controller_unittest.cc ('k') | ash/display/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698