OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/views/tabs/window_finder.h" | |
6 | |
7 #include "chrome/browser/ui/host_desktop.h" | |
8 #include "chrome/browser/ui/views/tabs/window_finder_impl.h" | |
9 #include "ui/aura/window.h" | |
10 | |
11 gfx::NativeWindow GetLocalProcessWindowAtPoint( | |
12 chrome::HostDesktopType host_desktop_type, | |
13 const gfx::Point& screen_point, | |
14 const std::set<gfx::NativeWindow>& ignore, | |
15 gfx::NativeWindow source) { | |
16 gfx::NativeWindow root_window = source ? source->GetRootWindow() : nullptr; | |
17 if (!root_window) | |
18 return nullptr; | |
19 return GetLocalProcessWindowAtPointImpl(screen_point, ignore, std::set<int>(), | |
20 root_window); | |
21 } | |
OLD | NEW |