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

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

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: Refactor WindowFinder definition 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_win.cc
diff --git a/chrome/browser/ui/views/tabs/window_finder_win.cc b/chrome/browser/ui/views/tabs/window_finder_win.cc
index 29517efe5c6d51f558de69b64659be2c6a6023c2..9f2f353b3ca1a8c7e4170c8277aab90558596184 100644
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/win/scoped_gdi_object.h"
#include "base/win/windows_version.h"
+#include "chrome/browser/ui/views/tabs/window_finder_mus.h"
#include "ui/aura/window.h"
#include "ui/display/win/screen_win.h"
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
@@ -235,6 +236,10 @@ std::set<HWND> RemapIgnoreSet(const std::set<gfx::NativeView>& ignore) {
gfx::NativeWindow WindowFinder::GetLocalProcessWindowAtPoint(
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore) {
+ gfx::NativeWindow mus_result;
sky 2016/10/31 22:43:46 = null on these.
tonikitoo 2016/10/31 23:39:37 Done.
+ if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &mus_result))
+ return mus_result;
+
return LocalProcessWindowFinder::GetProcessWindowAtPoint(
screen_point, RemapIgnoreSet(ignore));
}

Powered by Google App Engine
This is Rietveld 408576698