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

Unified Diff: ash/display/display_manager.h

Issue 14710011: Redesign display options for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: ash/display/display_manager.h
diff --git a/ash/display/display_manager.h b/ash/display/display_manager.h
index ffd4e18da56a0a9183a52315c97d9a5de57f45f3..8cd2cc3ae913a61c52cd37b94afa324284354639 100644
--- a/ash/display/display_manager.h
+++ b/ash/display/display_manager.h
@@ -44,6 +44,9 @@ class ASH_EXPORT DisplayManager : public aura::RootWindowObserver {
static void CycleDisplay();
static void ToggleDisplayScaleFactor();
+ // Returns the list of possible UI scales for the display.
+ static std::vector<float> GetScalesForDisplay(const DisplayInfo& info);
+
// Returns next valid UI scale.
static float GetNextUIScale(const DisplayInfo& info, bool up);
« no previous file with comments | « no previous file | ash/display/display_manager.cc » ('j') | chrome/browser/resources/options/browser_options.html » ('J')

Powered by Google App Engine
This is Rietveld 408576698