diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 17:59:51 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 17:59:51 +0000 |
commit | 2b5f8edb264918e897ee7d1e0847d0ffbfeb6b70 (patch) | |
tree | fc9e80466849b17c3277864c4aa2ea7c119386dd /ui/gfx/favicon_size.h | |
parent | 78b58297b9cfa6e78727e13782529290dd18d526 (diff) | |
download | chromium_src-2b5f8edb264918e897ee7d1e0847d0ffbfeb6b70.zip chromium_src-2b5f8edb264918e897ee7d1e0847d0ffbfeb6b70.tar.gz chromium_src-2b5f8edb264918e897ee7d1e0847d0ffbfeb6b70.tar.bz2 |
[Mac] URL drop target change for hover tab selection for dragged files.
My previous changes in this area broke hover-tab-selection when dragging files ( http://crrev.com/86850 ). This change brings back that functionality by:
- Showing the indicator on the tab strip when dragging a file, even if it's unsupported.
- Hover-tab selection is triggered by changes to state of the indicator.
- Not showing the "no drag" icon on the tab strip when dragging a file.
- Still returning NSDragOperationNone for unsupported file types, so that dropping them doesn't trigger a re-download.
I've split up |IsUnsupportedDropData()| in drag_util.mm into several helper functions, so that |GetFileURLFromDropData()| could be called from url_drop_target.mm
BUG=86176,82608
TEST=Drag a file over the tab strip. Hover over a tab. Focus should switch to this tab.
Review URL: http://codereview.chromium.org/7167012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/favicon_size.h')
0 files changed, 0 insertions, 0 deletions