| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 WindowFinder::WindowFinder() {} | 7 #include "chrome/browser/ui/views/tabs/window_finder_mus.h" |
| 8 WindowFinder::~WindowFinder() {} | 8 |
| 9 gfx::NativeWindow GetLocalProcessWindowAtPointImpl( |
| 10 const gfx::Point& screen_point, |
| 11 const std::set<gfx::NativeWindow>& ignore); |
| 12 |
| 13 gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint( |
| 14 const gfx::Point& screen_point, |
| 15 const std::set<gfx::NativeWindow>& ignore) { |
| 16 |
| 17 gfx::NativeWindow out; |
| 18 if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &out)) |
| 19 return out; |
| 20 |
| 21 return GetLocalProcessWindowAtPointImpl(screen_point, ignore); |
| 22 } |
| OLD | NEW |