OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/views/tabs/dragged_tab_controller.h" | 5 #include "chrome/browser/views/tabs/dragged_tab_controller.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "app/animation.h" | 10 #include "app/animation.h" |
| 11 #include "app/slide_animation.h" |
11 #include "app/gfx/canvas.h" | 12 #include "app/gfx/canvas.h" |
12 #include "app/l10n_util.h" | 13 #include "app/l10n_util.h" |
13 #include "app/resource_bundle.h" | 14 #include "app/resource_bundle.h" |
14 #include "chrome/browser/browser_window.h" | 15 #include "chrome/browser/browser_window.h" |
15 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 16 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
16 #include "chrome/browser/tab_contents/tab_contents.h" | 17 #include "chrome/browser/tab_contents/tab_contents.h" |
17 #include "chrome/browser/metrics/user_metrics.h" | 18 #include "chrome/browser/metrics/user_metrics.h" |
18 #include "chrome/browser/views/frame/browser_view.h" | 19 #include "chrome/browser/views/frame/browser_view.h" |
19 #include "chrome/browser/views/tabs/dragged_tab_view.h" | 20 #include "chrome/browser/views/tabs/dragged_tab_view.h" |
20 #include "chrome/browser/views/tabs/native_view_photobooth.h" | 21 #include "chrome/browser/views/tabs/native_view_photobooth.h" |
(...skipping 1383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1404 | 1405 |
1405 // The previous call made the window appear on top of the dragged window, | 1406 // The previous call made the window appear on top of the dragged window, |
1406 // move the dragged window to the front. | 1407 // move the dragged window to the front. |
1407 SetWindowPos(view_->GetWidget()->GetNativeView(), HWND_TOP, 0, 0, 0, 0, | 1408 SetWindowPos(view_->GetWidget()->GetNativeView(), HWND_TOP, 0, 0, 0, 0, |
1408 SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); | 1409 SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); |
1409 #else | 1410 #else |
1410 NOTIMPLEMENTED(); | 1411 NOTIMPLEMENTED(); |
1411 #endif | 1412 #endif |
1412 } | 1413 } |
1413 } | 1414 } |
OLD | NEW |