Index: chrome/browser/ui/views/tabs/window_finder_android.cc |
diff --git a/chrome/browser/ui/views/tabs/window_finder_android.cc b/chrome/browser/ui/views/tabs/window_finder_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..21c44497edd9315c394f4fcafe4b880e5bd8328b |
--- /dev/null |
+++ b/chrome/browser/ui/views/tabs/window_finder_android.cc |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/ui/views/tabs/window_finder.h" |
+ |
+#include "chrome/browser/ui/host_desktop.h" |
+#include "chrome/browser/ui/views/tabs/window_finder_impl.h" |
+#include "ui/aura/window.h" |
+ |
+gfx::NativeWindow GetLocalProcessWindowAtPoint( |
+ chrome::HostDesktopType host_desktop_type, |
+ const gfx::Point& screen_point, |
+ const std::set<gfx::NativeWindow>& ignore, |
+ gfx::NativeWindow source) { |
+ gfx::NativeWindow root_window = source ? source->GetRootWindow() : nullptr; |
+ if (!root_window) |
+ return nullptr; |
+ return GetLocalProcessWindowAtPointImpl(screen_point, ignore, std::set<int>(), |
+ root_window); |
+} |