summaryrefslogtreecommitdiffstats
path: root/ash/display
diff options
context:
space:
mode:
authormarcheu@chromium.org <marcheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-30 08:07:39 +0000
committermarcheu@chromium.org <marcheu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-30 08:07:39 +0000
commit86be9d22527d01bdf255a87b26218b6bd2eb5a47 (patch)
tree0dfda8a5381128843aa594249fa9ffa1174bf1ff /ash/display
parenta10d7a09fa58cdb86dedec8a1ebeda4c39639c80 (diff)
downloadchromium_src-86be9d22527d01bdf255a87b26218b6bd2eb5a47.zip
chromium_src-86be9d22527d01bdf255a87b26218b6bd2eb5a47.tar.gz
chromium_src-86be9d22527d01bdf255a87b26218b6bd2eb5a47.tar.bz2
Rename kHighDensityDIPThreshold to kHighDensityDPIThreshold
I was looking for the high DPI selection code, and grepping "DPI", and wasn't finding anything. So rename it for the next person who greps for "DPI" BUG=none TEST=Chrome builds and runs. Change-Id: I883aa687e968fa4b64b1ff9b83c5819eab1401f2 Review URL: https://chromiumcodereview.appspot.com/12084053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display')
-rw-r--r--ash/display/display_change_observer_x11.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/display/display_change_observer_x11.cc b/ash/display/display_change_observer_x11.cc
index 74de4c7..c5042c3 100644
--- a/ash/display/display_change_observer_x11.cc
+++ b/ash/display/display_change_observer_x11.cc
@@ -31,7 +31,7 @@ namespace {
// driver will use the same value.
// This value also has to be kept in sync with the value in
// chromeos/display/output_configurator.cc. See crbug.com/130188
-const unsigned int kHighDensityDIPThreshold = 160;
+const unsigned int kHighDensityDPIThreshold = 160;
// 1 inch in mm.
const float kInchInMm = 25.4f;
@@ -144,7 +144,7 @@ void DisplayChangeObserverX11::NotifyDisplayChange() {
float device_scale_factor = 1.0f;
if (!ShouldIgnoreSize(output_info) &&
(kInchInMm * mode->width / output_info->mm_width) >
- kHighDensityDIPThreshold) {
+ kHighDensityDPIThreshold) {
device_scale_factor = 2.0f;
}
displays.back().SetScaleAndBounds(