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

Unified Diff: ash/display/display_change_observer_chromeos.h

Issue 227593011: Modifies the threshold for hidpi displays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 8 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_change_observer_chromeos.h
diff --git a/ash/display/display_change_observer_chromeos.h b/ash/display/display_change_observer_chromeos.h
index 1e6521ff7816bf34e089e81015c241af384c7924..96740cfbba0cdee71dda9a927a086d1c8db61716 100644
--- a/ash/display/display_change_observer_chromeos.h
+++ b/ash/display/display_change_observer_chromeos.h
@@ -24,6 +24,11 @@ class DisplayChangeObserver : public ui::DisplayConfigurator::StateController,
ASH_EXPORT static std::vector<DisplayMode> GetDisplayModeList(
const ui::DisplayConfigurator::DisplayState& output);
+ // Returns the device scale factor for the specific monitor and mode.
+ ASH_EXPORT static float GetScaleFactor(
+ const gfx::Size& physical_size,
+ const gfx::Size& screen_size);
+
DisplayChangeObserver();
virtual ~DisplayChangeObserver();
« no previous file with comments | « no previous file | ash/display/display_change_observer_chromeos.cc » ('j') | ash/display/display_change_observer_chromeos.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698