diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 16:36:13 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-07-28 16:36:13 +0000 |
commit | 92bc8147648e1b3c046685e710b133555bc00488 (patch) | |
tree | f0ae75150d5fb8c23b4477e9626070a98e67050e /chrome/browser/tabs/tab.h | |
parent | 189f4be0be7bedd7962c8134fab9021671f61e2a (diff) | |
download | chromium_src-92bc8147648e1b3c046685e710b133555bc00488.zip chromium_src-92bc8147648e1b3c046685e710b133555bc00488.tar.gz chromium_src-92bc8147648e1b3c046685e710b133555bc00488.tar.bz2 |
Fix some glitches dragging tabs.
- Fix what looks like an off-by-one in tab attaching (line 504 in diff)
- Ensure ideal bounds are appropriately generated for dragging so that insertion
index calculations work properly (line 452, 492)
- Provide a threshold so that when dragging left and right a tab must be
displaced by at least threshold before tabs are reordered again to prevent
jittering. Default threshold is 16px for standard sized tabs, scaled down in the
ratio of the unselected current tab size to the standard size depending on the
number of tabs open.
B=1285677
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tabs/tab.h')
0 files changed, 0 insertions, 0 deletions