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

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

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: setting mus_window to null, for safety 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..7f1d144690b67af6e1f47b9cbc1eea5f1ba2c138 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 = nullptr;
+ if (GetLocalProcessWindowAtPointMus(screen_point, ignore, &mus_result))
+ return mus_result;
+
return LocalProcessWindowFinder::GetProcessWindowAtPoint(
screen_point, RemapIgnoreSet(ignore));
}
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_mus.cc ('k') | chrome/browser/ui/views/tabs/window_finder_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698