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

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

Issue 2449103004: Refactor WindowFinder definition (Closed)
Patch Set: no ifdefs Created 4 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | chrome/browser/ui/views/tabs/window_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4ce91d50ed01aad9fa9b789755e9e2c4bbda835e..359147f0a35ed17833233f3dc527874fc309d592 100644
--- a/chrome/browser/ui/views/tabs/window_finder.h
+++ b/chrome/browser/ui/views/tabs/window_finder.h
@@ -21,8 +21,8 @@ class Point;
// to.
class WindowFinder {
sky 2016/10/28 16:54:48 There is no point in making this a class. A single
tonikitoo 2016/10/28 20:05:48 Yes, it makes sense. patchset 10 implements the id
public:
- WindowFinder();
- virtual ~WindowFinder();
+ 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
@@ -33,6 +33,10 @@ class WindowFinder {
const std::set<gfx::NativeWindow>& ignore);
private:
+ gfx::NativeWindow GetLocalProcessWindowAtPointImpl(
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore);
+
DISALLOW_COPY_AND_ASSIGN(WindowFinder);
};
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller.cc ('k') | chrome/browser/ui/views/tabs/window_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698