OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ |
7 | 7 |
8 #include "chrome/browser/ui/views/tabs/window_finder.h" | 8 #include "chrome/browser/ui/views/tabs/window_finder.h" |
9 | 9 |
10 class WindowFinderMus : public WindowFinder { | 10 // When running in remote service "mode", method looks up for the |
sky
2016/10/31 22:43:46
How about:
Used to locate the aura::Window under t
tonikitoo
2016/10/31 23:39:37
Done.
| |
11 public: | 11 // associated aura window of each mus window, to verify if the passed |
12 WindowFinderMus(); | 12 // in point is in it. |
13 ~WindowFinderMus() override; | 13 bool GetLocalProcessWindowAtPointMus( |
14 | 14 const gfx::Point& screen_point, |
15 // Overridden from WindowFinder: | 15 const std::set<gfx::NativeWindow>& ignore, |
16 gfx::NativeWindow GetLocalProcessWindowAtPoint( | 16 gfx::NativeWindow* mus_result); |
17 const gfx::Point& screen_point, | |
18 const std::set<gfx::NativeWindow>& ignore) override; | |
19 | |
20 private: | |
21 DISALLOW_COPY_AND_ASSIGN(WindowFinderMus); | |
22 }; | |
23 | 17 |
24 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ | 18 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ |
OLD | NEW |