| Index: chrome/browser/ui/views/tabs/window_finder.cc
|
| diff --git a/chrome/browser/ui/views/tabs/window_finder.cc b/chrome/browser/ui/views/tabs/window_finder.cc
|
| index 7f95d12d1a6b89961bacfdba9ec57c6dac19b6f3..6d41765f3cc4f9ef0ea7c6376ff59025d1783d9f 100644
|
| --- a/chrome/browser/ui/views/tabs/window_finder.cc
|
| +++ b/chrome/browser/ui/views/tabs/window_finder.cc
|
| @@ -4,5 +4,18 @@
|
|
|
| #include "chrome/browser/ui/views/tabs/window_finder.h"
|
|
|
| -WindowFinder::WindowFinder() {}
|
| -WindowFinder::~WindowFinder() {}
|
| +#include "chrome/browser/ui/views/tabs/window_finder_mus.h"
|
| +#include "content/public/common/service_manager_connection.h" // nogncheck
|
| +#include "services/service_manager/runner/common/client_util.h" // nogncheck
|
| +
|
| +gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint(
|
| + const gfx::Point& screen_point,
|
| + const std::set<gfx::NativeWindow>& ignore) {
|
| +
|
| + content::ServiceManagerConnection* service_manager_connection =
|
| + content::ServiceManagerConnection::GetForProcess();
|
| + if (service_manager_connection && service_manager::ServiceManagerIsRemote())
|
| + return GetLocalProcessWindowAtPointMus(screen_point, ignore);
|
| +
|
| + return GetLocalProcessWindowAtPointImpl(screen_point, ignore);
|
| +}
|
|
|