| Index: chrome/browser/ui/views/tabs/dragged_tab_controller.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/tabs/dragged_tab_controller.cc (revision 99456)
|
| +++ chrome/browser/ui/views/tabs/dragged_tab_controller.cc (working copy)
|
| @@ -1145,7 +1145,7 @@
|
| // it has been hidden.
|
| if (restore_frame) {
|
| if (!restore_bounds_.IsEmpty()) {
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) && !defined(USE_AURA)
|
| HWND frame_hwnd = source_tabstrip_->GetWidget()->GetNativeView();
|
| MoveWindow(frame_hwnd, restore_bounds_.x(), restore_bounds_.y(),
|
| restore_bounds_.width(), restore_bounds_.height(), TRUE);
|
| @@ -1355,7 +1355,7 @@
|
| }
|
|
|
| void DraggedTabController::HideFrame() {
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) && !defined(USE_AURA)
|
| // We don't actually hide the window, rather we just move it way off-screen.
|
| // If we actually hide it, we stop receiving drag events.
|
| HWND frame_hwnd = source_tabstrip_->GetWidget()->GetNativeView();
|
| @@ -1408,7 +1408,7 @@
|
| dock_windows_.erase(dragged_view);
|
| }
|
| if (window) {
|
| -#if defined(OS_WIN)
|
| +#if defined(OS_WIN) && !defined(USE_AURA)
|
| // Move the window to the front.
|
| SetWindowPos(window, HWND_TOP, 0, 0, 0, 0,
|
| SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
|
|
|