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

Unified Diff: chrome/browser/ui/views/tabs/window_finder.h

Issue 2099513003: mus: Use the new drag API to implement tab dragging in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dragging-part-1
Patch Set: Rebase to tot Created 4 years, 5 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.h
diff --git a/chrome/browser/ui/views/tabs/window_finder.h b/chrome/browser/ui/views/tabs/window_finder.h
index 160fb6a3c5ffca56728778f226e426baa4e236c7..4ce91d50ed01aad9fa9b789755e9e2c4bbda835e 100644
--- a/chrome/browser/ui/views/tabs/window_finder.h
+++ b/chrome/browser/ui/views/tabs/window_finder.h
@@ -17,11 +17,17 @@ namespace gfx {
class Point;
}
+// Class used by the tabstrip to find chrome windows that we can attach tabs
+// to.
class WindowFinder {
public:
WindowFinder();
virtual ~WindowFinder();
+ // Finds the topmost visible chrome window at |screen_point|. This should
+ // return nullptr if |screen_point| is in another program's window which
+ // occludes the topmost chrome window. Ignores the windows in |ignore|, which
+ // contain windows such as the tab being dragged right now.
virtual gfx::NativeWindow GetLocalProcessWindowAtPoint(
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore);
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | chrome/browser/ui/views/tabs/window_finder_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698