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

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

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: addressed more of sky's feedback Created 4 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_chromeos.cc
diff --git a/chrome/browser/ui/views/tabs/window_finder_chromeos.cc b/chrome/browser/ui/views/tabs/window_finder_chromeos.cc
index f4d0f226993aa06f08a2bda9a064c85163100fca..43ba53f98e5987f5c8dbc6c03d8c982943045866 100644
--- a/chrome/browser/ui/views/tabs/window_finder_chromeos.cc
+++ b/chrome/browser/ui/views/tabs/window_finder_chromeos.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/browser/ui/views/tabs/window_finder.h"
+#include "chrome/browser/ui/views/tabs/window_finder_mus.h"
#include "ui/aura/window.h"
@@ -13,5 +14,9 @@ gfx::NativeWindow GetLocalProcessWindowAtPointAsh(
gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint(
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore) {
+ gfx::NativeWindow out;
sky 2016/10/31 20:33:20 out is descriptive, maybe mus_result? (same commen
tonikitoo 2016/10/31 21:09:13 Done.
+ if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &out))
+ return out;
+
return GetLocalProcessWindowAtPointAsh(screen_point, ignore);
}

Powered by Google App Engine
This is Rietveld 408576698