| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/views/tabs/tab_drag_controller.h" | 5 #include "chrome/browser/ui/views/tabs/tab_drag_controller.h" |
| 6 | 6 |
| 7 #include <math.h> | 7 #include <math.h> |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/auto_reset.h" | 10 #include "base/auto_reset.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "ui/gfx/screen.h" | 41 #include "ui/gfx/screen.h" |
| 42 #include "ui/views/focus/view_storage.h" | 42 #include "ui/views/focus/view_storage.h" |
| 43 #include "ui/views/widget/root_view.h" | 43 #include "ui/views/widget/root_view.h" |
| 44 #include "ui/views/widget/widget.h" | 44 #include "ui/views/widget/widget.h" |
| 45 | 45 |
| 46 #if defined(USE_ASH) | 46 #if defined(USE_ASH) |
| 47 #include "ash/accelerators/accelerator_commands.h" | 47 #include "ash/accelerators/accelerator_commands.h" |
| 48 #include "ash/wm/coordinate_conversion.h" | 48 #include "ash/wm/coordinate_conversion.h" |
| 49 #include "ash/wm/window_state.h" | 49 #include "ash/wm/window_state.h" |
| 50 #include "ui/aura/env.h" | 50 #include "ui/aura/env.h" |
| 51 #include "ui/aura/root_window.h" | |
| 52 #include "ui/aura/window.h" | 51 #include "ui/aura/window.h" |
| 52 #include "ui/aura/window_event_dispatcher.h" |
| 53 #include "ui/events/gestures/gesture_recognizer.h" | 53 #include "ui/events/gestures/gesture_recognizer.h" |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(OS_WIN) | 56 #if defined(OS_WIN) |
| 57 #include "ui/aura/window.h" | 57 #include "ui/aura/window.h" |
| 58 #include "ui/events/gestures/gesture_recognizer.h" | 58 #include "ui/events/gestures/gesture_recognizer.h" |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 using base::UserMetricsAction; | 61 using base::UserMetricsAction; |
| 62 using content::OpenURLParams; | 62 using content::OpenURLParams; |
| (...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1899 aura::Window* dragged_window = | 1899 aura::Window* dragged_window = |
| 1900 attached_tabstrip_->GetWidget()->GetNativeView(); | 1900 attached_tabstrip_->GetWidget()->GetNativeView(); |
| 1901 if (dragged_window) | 1901 if (dragged_window) |
| 1902 exclude.insert(dragged_window); | 1902 exclude.insert(dragged_window); |
| 1903 } | 1903 } |
| 1904 return GetLocalProcessWindowAtPoint(host_desktop_type_, | 1904 return GetLocalProcessWindowAtPoint(host_desktop_type_, |
| 1905 screen_point, | 1905 screen_point, |
| 1906 exclude); | 1906 exclude); |
| 1907 | 1907 |
| 1908 } | 1908 } |
| OLD | NEW |