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

Unified Diff: ash/display/display_info.h

Issue 1251573006: Cleanup: Enable 125DSFForUIScaling on by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | ash/display/display_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_info.h
diff --git a/ash/display/display_info.h b/ash/display/display_info.h
index 34f229927c17097562b592b35d9c0604c0e1d9a2..f6805d73c34b9bf89a6fa6f3380c557636db3ce5 100644
--- a/ash/display/display_info.h
+++ b/ash/display/display_info.h
@@ -86,14 +86,14 @@ class ASH_EXPORT DisplayInfo {
static DisplayInfo CreateFromSpecWithID(const std::string& spec,
int64 id);
- DisplayInfo();
- DisplayInfo(int64 id, const std::string& name, bool has_overscan);
- ~DisplayInfo();
-
// When this is set to true on the device whose internal display has
// 1.25 dsf, Chrome uses 1.0f as a default scale factor, and uses
// dsf 1.25 when UI scaling is set to 0.8f.
- static void SetUse125DSFForUIScaling(bool enable);
+ static void SetUse125DSFForUIScalingForTest(bool enable);
+
+ DisplayInfo();
+ DisplayInfo(int64 id, const std::string& name, bool has_overscan);
+ ~DisplayInfo();
int64 id() const { return id_; }
@@ -235,7 +235,7 @@ class ASH_EXPORT DisplayInfo {
private:
// Returns true if this display should use DSF=1.25 for UI scaling; i.e.
// SetUse125DSFForUIScaling(true) is called and this is the internal display.
- bool Use125DSFRorUIScaling() const;
+ bool Use125DSFForUIScaling() const;
int64 id_;
std::string name_;
« no previous file with comments | « no previous file | ash/display/display_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698