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

Side by Side Diff: chrome/browser/ui/views/tabs/window_finder.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
11 11
12 namespace aura {
13 class Window;
14 }
15
16 namespace gfx { 12 namespace gfx {
17 class Point; 13 class Point;
18 } 14 }
19 15
20 // Class used by the tabstrip to find chrome windows that we can attach tabs to. 16 // Class used by the tabstrip to find chrome windows that we can attach tabs to.
21 class WindowFinder { 17 class WindowFinder {
22 public: 18 public:
23 WindowFinder(); 19 WindowFinder();
24 virtual ~WindowFinder(); 20 virtual ~WindowFinder();
25 21
26 // Finds the topmost visible chrome window at |screen_point|. This should 22 // Finds the topmost visible chrome window at |screen_point|. This should
27 // return nullptr if |screen_point| is in another program's window which 23 // return nullptr if |screen_point| is in another program's window which
28 // occludes the topmost chrome window. Ignores the windows in |ignore|, which 24 // occludes the topmost chrome window. Ignores the windows in |ignore|, which
29 // contain windows such as the tab being dragged right now. 25 // contain windows such as the tab being dragged right now.
30 virtual gfx::NativeWindow GetLocalProcessWindowAtPoint( 26 virtual gfx::NativeWindow GetLocalProcessWindowAtPoint(
31 const gfx::Point& screen_point, 27 const gfx::Point& screen_point,
32 const std::set<gfx::NativeWindow>& ignore); 28 const std::set<gfx::NativeWindow>& ignore);
33 29
34 private: 30 private:
35 DISALLOW_COPY_AND_ASSIGN(WindowFinder); 31 DISALLOW_COPY_AND_ASSIGN(WindowFinder);
36 }; 32 };
37 33
38 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_ 34 #endif // CHROME_BROWSER_UI_VIEWS_TABS_WINDOW_FINDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.h ('k') | chrome/browser/ui/views/task_manager_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698