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

Side by Side 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 unified diff | Download patch
OLDNEW
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 // Used to locate the aura::Window under the specified point when in mus.
11 public: 11 // If running in mus true is returned and |mus_result| is set to the
12 WindowFinderMus(); 12 // aura::Window associated with the ui::Window under the specified point.
13 ~WindowFinderMus() override; 13 // It's possible for true to be returned and mus_result to be set to null.
14 14 bool GetLocalProcessWindowAtPointMus(
15 // Overridden from WindowFinder: 15 const gfx::Point& screen_point,
16 gfx::NativeWindow GetLocalProcessWindowAtPoint( 16 const std::set<gfx::NativeWindow>& ignore,
17 const gfx::Point& screen_point, 17 gfx::NativeWindow* mus_result);
18 const std::set<gfx::NativeWindow>& ignore) override;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(WindowFinderMus);
22 };
23 18
24 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_ 19 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_MUS_H_
OLDNEW
« 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