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

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

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_mus.h
diff --git a/chrome/browser/ui/views/tabs/window_finder_mus.h b/chrome/browser/ui/views/tabs/window_finder_mus.h
index 6bded2d1c7db032c821e2f07d4b9242aa9889b1c..41f536f4a59afed5dbb97611eae9e2b0b9b475d0 100644
--- a/chrome/browser/ui/views/tabs/window_finder_mus.h
+++ b/chrome/browser/ui/views/tabs/window_finder_mus.h
@@ -7,18 +7,13 @@
#include "chrome/browser/ui/views/tabs/window_finder.h"
-class WindowFinderMus : public WindowFinder {
- public:
- WindowFinderMus();
- ~WindowFinderMus() override;
-
- // Overridden from WindowFinder:
- gfx::NativeWindow GetLocalProcessWindowAtPoint(
- const gfx::Point& screen_point,
- const std::set<gfx::NativeWindow>& ignore) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(WindowFinderMus);
-};
+// Used to locate the aura::Window under the specified point when in mus.
+// If running in mus true is returned and |mus_result| is set to the
+// aura::Window associated with the ui::Window under the specified point.
+// It's possible for true to be returned and mus_result to be set to null.
+bool GetLocalProcessWindowAtPointMus(
+ const gfx::Point& screen_point,
+ const std::set<gfx::NativeWindow>& ignore,
+ gfx::NativeWindow* mus_result);
#endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_
« no previous file with comments | « chrome/browser/ui/views/tabs/window_finder_chromeos.cc ('k') | chrome/browser/ui/views/tabs/window_finder_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698