Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(977)

Unified Diff: chrome/browser/ui/views/tabs/window_finder_android.cc

Issue 1421083003: Introduces window_finder_android.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reviews Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder.h ('k') | chrome/browser/ui/views/tabs/window_finder_ash.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+}
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder.h ('k') | chrome/browser/ui/views/tabs/window_finder_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698