summaryrefslogtreecommitdiffstats
path: root/cc/switches.cc
diff options
context:
space:
mode:
authortedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 05:47:30 +0000
committertedchoc@chromium.org <tedchoc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-01 05:47:30 +0000
commitc4ce488945d73a7d0ab4668e640421bb3a0367e9 (patch)
tree2296c1736933f5fd2a8f15874721ffb2b762d3ed /cc/switches.cc
parentd2ca75c9c62bf41a3a10811d13df0f72062d98df (diff)
downloadchromium_src-c4ce488945d73a7d0ab4668e640421bb3a0367e9.zip
chromium_src-c4ce488945d73a7d0ab4668e640421bb3a0367e9.tar.gz
chromium_src-c4ce488945d73a7d0ab4668e640421bb3a0367e9.tar.bz2
Convert top controls to use DIP instead of PX.
Previously, scroll offset was based on screen pixels, but now is based on screen density independent pixels. This converts the top controls manager to deal in DIP instead of PX. BUG=161303 Review URL: https://chromiumcodereview.appspot.com/12095071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/switches.cc')
-rw-r--r--cc/switches.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/switches.cc b/cc/switches.cc
index 6cb24d7..c116d7e 100644
--- a/cc/switches.cc
+++ b/cc/switches.cc
@@ -30,7 +30,7 @@ const char kEnableRightAlignedScheduling[] = "enable-right-aligned-scheduling";
const char kEnableTopControlsPositionCalculation[] =
"enable-top-controls-position-calculation";
-// The height of the movable top controls in screen pixels.
+// The height of the movable top controls.
const char kTopControlsHeight[] = "top-controls-height";
// Number of worker threads used to rasterize content.