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

Unified Diff: chrome/browser/ui/views/tabs/window_finder.h

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
Index: chrome/browser/ui/views/tabs/window_finder.h
diff --git a/chrome/browser/ui/views/tabs/window_finder.h b/chrome/browser/ui/views/tabs/window_finder.h
index 91de6c161da5ee8abd0a969dbdc35f4599a248a4..cdb61c1b26e26f9705c9c31014241722bee16248 100644
--- a/chrome/browser/ui/views/tabs/window_finder.h
+++ b/chrome/browser/ui/views/tabs/window_finder.h
@@ -9,18 +9,19 @@
#include "chrome/browser/ui/host_desktop.h"
-namespace aura {
-class Window;
-}
-
namespace gfx {
class Point;
}
// Returns the Window at the specified point, ignoring the windows in |ignore|.
+// On Android, |source| is required to access root window. All other platforms
+// do not use the parameter.
+// TODO(bshe): Remove |source| once we have a way to get root window from
+// |screen_point| on Android. See crbug.com/549735
gfx::NativeWindow GetLocalProcessWindowAtPoint(
chrome::HostDesktopType host_desktop_type,
const gfx::Point& screen_point,
- const std::set<gfx::NativeWindow>& ignore);
+ const std::set<gfx::NativeWindow>& ignore,
+ gfx::NativeWindow source);
#endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | chrome/browser/ui/views/tabs/window_finder_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698