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

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: Created 5 years, 2 months 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
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..763a73e34d46b4b84b9e2d4471e2e07a2a71bfb7
--- /dev/null
+++ b/chrome/browser/ui/views/tabs/window_finder_android.cc
@@ -0,0 +1,23 @@
+// 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 "ui/aura/window.h"
+
+gfx::NativeWindow GetLocalProcessWindowAtPointImpl(
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore,
+ gfx::NativeWindow window);
+
+gfx::NativeWindow GetLocalProcessWindowAtPoint(
+ chrome::HostDesktopType host_desktop_type,
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore,
+ gfx::NativeWindow dragged_window) {
+ DCHECK(dragged_window);
+ gfx::NativeWindow window = dragged_window->GetRootWindow();
+ return GetLocalProcessWindowAtPointImpl(screen_point, ignore, window);
+}

Powered by Google App Engine
This is Rietveld 408576698