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

Unified Diff: chrome/browser/ui/views/tabs/window_finder_mac.mm

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: no ifdefs Created 4 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_mac.mm
diff --git a/chrome/browser/ui/views/tabs/window_finder_mac.mm b/chrome/browser/ui/views/tabs/window_finder_mac.mm
index ab9555d42730303a2c8a3134672462b72c5c3544..47a77a30f24c56379783dec5d19df7cc7744b486 100644
--- a/chrome/browser/ui/views/tabs/window_finder_mac.mm
+++ b/chrome/browser/ui/views/tabs/window_finder_mac.mm
@@ -12,6 +12,12 @@
gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint(
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore) {
+ return GetLocalProcessWindowAtPointImpl(screen_point, ignore);
+}
+
+gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPointImpl(
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore) {
const NSPoint ns_point = gfx::ScreenPointToNSPoint(screen_point);
// Note: [NSApp orderedWindows] doesn't include NSPanels.

Powered by Google App Engine
This is Rietveld 408576698