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

Unified Diff: ui/display/display.h

Issue 2855143004: Implements a display scale tray setting behind a chrome switch (Closed)
Patch Set: Sync with ToT Created 3 years, 7 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/system/tray/system_tray.cc ('k') | ui/display/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/display.h
diff --git a/ui/display/display.h b/ui/display/display.h
index 0e704a4881f4a35fe77f73fe7640acf4906db218..03c9ddd9b8a833f2ef51b3f2752450b77b53e8bb 100644
--- a/ui/display/display.h
+++ b/ui/display/display.h
@@ -86,6 +86,9 @@ class DISPLAY_EXPORT Display final {
// ensures that the command line is reevaluated.
static void ResetForceDeviceScaleFactorForTesting();
+ // Resets the cache and sets a new force device scale factor.
+ static void SetForceDeviceScaleFactor(double dsf);
+
// Sets/Gets unique identifier associated with the display.
// -1 means invalid display and it doesn't not exit.
int64_t id() const { return id_; }
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ui/display/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698