| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/window_finder.h" | 5 #include "chrome/browser/ui/views/tabs/window_finder.h" |
| 6 | 6 |
| 7 #include "ash/aura/wm_window_aura.h" | |
| 8 #include "ash/common/wm/root_window_finder.h" | 7 #include "ash/common/wm/root_window_finder.h" |
| 8 #include "ash/common/wm_window.h" |
| 9 #include "ash/public/cpp/shell_window_ids.h" | 9 #include "ash/public/cpp/shell_window_ids.h" |
| 10 #include "ui/aura/client/screen_position_client.h" | 10 #include "ui/aura/client/screen_position_client.h" |
| 11 #include "ui/aura/window.h" | 11 #include "ui/aura/window.h" |
| 12 #include "ui/aura/window_event_dispatcher.h" | 12 #include "ui/aura/window_event_dispatcher.h" |
| 13 #include "ui/wm/core/window_util.h" | 13 #include "ui/wm/core/window_util.h" |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 gfx::NativeWindow GetLocalProcessWindowAtPointImpl( | 17 gfx::NativeWindow GetLocalProcessWindowAtPointImpl( |
| 18 const gfx::Point& screen_point, | 18 const gfx::Point& screen_point, |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 return NULL; | 51 return NULL; |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace | 54 } // namespace |
| 55 | 55 |
| 56 gfx::NativeWindow GetLocalProcessWindowAtPointAsh( | 56 gfx::NativeWindow GetLocalProcessWindowAtPointAsh( |
| 57 const gfx::Point& screen_point, | 57 const gfx::Point& screen_point, |
| 58 const std::set<gfx::NativeWindow>& ignore) { | 58 const std::set<gfx::NativeWindow>& ignore) { |
| 59 return GetLocalProcessWindowAtPointImpl( | 59 return GetLocalProcessWindowAtPointImpl( |
| 60 screen_point, ignore, | 60 screen_point, ignore, |
| 61 ash::WmWindowAura::GetAuraWindow(ash::wm::GetRootWindowAt(screen_point))); | 61 ash::WmWindow::GetAuraWindow(ash::wm::GetRootWindowAt(screen_point))); |
| 62 } | 62 } |
| OLD | NEW |