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

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

Issue 1697243002: Remove HostDesktopType from window_finder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@metro-mode-26
Patch Set: . Created 4 years, 10 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_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 c32dba6c0b99de1ad7197edce1dee7db4598ccb0..1ad001e0a4e21c47aeb59785e2ec461956b859ab 100644
--- a/chrome/browser/ui/views/tabs/window_finder_win.cc
+++ b/chrome/browser/ui/views/tabs/window_finder_win.cc
@@ -15,12 +15,6 @@
#include "ui/views/widget/desktop_aura/desktop_window_tree_host_win.h"
#include "ui/views/win/hwnd_util.h"
-#if defined(USE_ASH)
-gfx::NativeWindow GetLocalProcessWindowAtPointAsh(
- const gfx::Point& screen_point,
- const std::set<gfx::NativeWindow>& ignore);
-#endif
-
namespace {
// BaseWindowFinder -----------------------------------------------------------
@@ -240,13 +234,8 @@ std::set<HWND> RemapIgnoreSet(const std::set<gfx::NativeView>& ignore) {
} // namespace
gfx::NativeWindow GetLocalProcessWindowAtPoint(
- chrome::HostDesktopType host_desktop_type,
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore) {
-#if defined(USE_ASH)
- if (host_desktop_type == chrome::HOST_DESKTOP_TYPE_ASH)
- return GetLocalProcessWindowAtPointAsh(screen_point, ignore);
-#endif
return LocalProcessWindowFinder::GetProcessWindowAtPoint(
- screen_point, RemapIgnoreSet(ignore));
+ screen_point, RemapIgnoreSet(ignore));
}
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_mac.mm ('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