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

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: Add some comments to window finder interface. Created 4 years, 6 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..2c37d06f0f470387dedd9450fc97931d20e6e901 100644
--- a/chrome/browser/ui/views/tabs/window_finder.h
+++ b/chrome/browser/ui/views/tabs/window_finder.h
@@ -17,11 +17,15 @@ 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 chrome window at |screen_point|. Ignores the windows in
+ // |ignore|, which contain windows such as the tab being dragged right now.
sky 2016/07/01 16:01:16 Can you also add the point you weren't aware of? P
virtual gfx::NativeWindow GetLocalProcessWindowAtPoint(
const gfx::Point& screen_point,
const std::set<gfx::NativeWindow>& ignore);

Powered by Google App Engine
This is Rietveld 408576698