summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dock_info.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 19:00:57 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 19:00:57 +0000
commite3740143c28c371adf5b6669d45176965e186052 (patch)
tree12407f902ac6c59a2f1e237694e8422c02a31a98 /chrome/browser/dock_info.cc
parent3c6f71f746758bc311a87bc573a9575c1f9d5123 (diff)
downloadchromium_src-e3740143c28c371adf5b6669d45176965e186052.zip
chromium_src-e3740143c28c371adf5b6669d45176965e186052.tar.gz
chromium_src-e3740143c28c371adf5b6669d45176965e186052.tar.bz2
During tab dragging if you hover over a browser window we now move it
to front after a delay. Also made docking to another window bring the other window to front. BUG=2038 TEST=Create two window with two tabs each. Drag a tab from one window onto the other window (not the tab area), hold it for a second and make sure the other window comes to front. Review URL: http://codereview.chromium.org/14057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dock_info.cc')
-rw-r--r--chrome/browser/dock_info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/dock_info.cc b/chrome/browser/dock_info.cc
index fdf9f57..74a631a 100644
--- a/chrome/browser/dock_info.cc
+++ b/chrome/browser/dock_info.cc
@@ -465,7 +465,7 @@ void DockInfo::AdjustOtherWindowBounds() const {
::SetWindowPos(hwnd_, HWND_TOP, other_window_bounds.x(),
other_window_bounds.y(), other_window_bounds.width(),
other_window_bounds.height(),
- SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOZORDER);
+ SWP_NOACTIVATE | SWP_NOOWNERZORDER);
}
bool DockInfo::CheckMonitorPoint(const gfx::Point& screen_loc,