summaryrefslogtreecommitdiffstats
path: root/chrome/browser/view_ids.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 16:40:15 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-07 16:40:15 +0000
commit8979ccea27f79faf5bee441547600a95c8eedce4 (patch)
treed1556a6cc2e31d737cffe079508e75a98c03a64c /chrome/browser/view_ids.h
parent0e76c9c9a560fd966c8f06719331179502a350ce (diff)
downloadchromium_src-8979ccea27f79faf5bee441547600a95c8eedce4.zip
chromium_src-8979ccea27f79faf5bee441547600a95c8eedce4.tar.gz
chromium_src-8979ccea27f79faf5bee441547600a95c8eedce4.tar.bz2
Improves responsiveness when rapdily clicking to close tabs. If the
tab is already closing it's possible for the tab to no longer contain the coordinates of the release event. I've changed it so that if the tab is closing and the tab doesn't contain the mouse on the release event we see if another tab does and if so close it. BUG=48209 TEST=none Review URL: http://codereview.chromium.org/2841038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/view_ids.h')
-rw-r--r--chrome/browser/view_ids.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/view_ids.h b/chrome/browser/view_ids.h
index 317c030..639776a 100644
--- a/chrome/browser/view_ids.h
+++ b/chrome/browser/view_ids.h
@@ -27,6 +27,9 @@ enum ViewID {
VIEW_ID_TAB_9,
VIEW_ID_TAB_LAST,
+ // ID for any tab. Currently only used on views.
+ VIEW_ID_TAB,
+
VIEW_ID_EXTENSION_APP_ICON,
VIEW_ID_EXTENSION_APP_TITLE,
VIEW_ID_TAB_STRIP,