diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-07 22:50:51 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-07 22:50:51 +0000 |
commit | e2b14e6509e96093dcf5040a2f6ea8563b8abcf5 (patch) | |
tree | 14c008812b3497d2e03ce12cc5bda6b9cc631a94 | |
parent | 33c76c4daf295ea6e4b3b0584e7b4f6db32caa27 (diff) | |
download | chromium_src-e2b14e6509e96093dcf5040a2f6ea8563b8abcf5.zip chromium_src-e2b14e6509e96093dcf5040a2f6ea8563b8abcf5.tar.gz chromium_src-e2b14e6509e96093dcf5040a2f6ea8563b8abcf5.tar.bz2 |
Add comment and reference to the bug for DPI threashould.
TBR=sky@chromium.org
BUG=chromium-os:31628
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10542066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141104 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ui/aura/monitor_change_observer_x11.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/aura/monitor_change_observer_x11.cc b/ui/aura/monitor_change_observer_x11.cc index b6409f3..3187e0b 100644 --- a/ui/aura/monitor_change_observer_x11.cc +++ b/ui/aura/monitor_change_observer_x11.cc @@ -25,6 +25,10 @@ namespace { // The DPI threshold to detect high density screen. // Higher DPI than this will use device_scale_factor=2. +// Note: This value has to be kept in sync with the mouse/touchpad driver +// which controls mouse pointer acceleration. If you need to update this value, +// please update the bug (crosbug.com/31628) first and make sure that the +// driver will use the same value. const unsigned int kHighDensityDIPThreshold = 160; // 1 inch in mm. |