OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_MUS_VIEW_LOCATOR_H_ | 5 #ifndef COMPONENTS_MUS_VIEW_LOCATOR_H_ |
6 #define COMPONENTS_MUS_VIEW_LOCATOR_H_ | 6 #define COMPONENTS_MUS_VIEW_LOCATOR_H_ |
7 | 7 |
8 namespace gfx { | 8 namespace gfx { |
9 class Point; | 9 class Point; |
10 } | 10 } |
11 | 11 |
12 namespace mus { | 12 namespace view_manager { |
13 | 13 |
14 class ServerView; | 14 class ServerView; |
15 | 15 |
16 // Finds the deepest visible view that contains the specified location. | 16 // Finds the deepest visible view that contains the specified location. |
17 const ServerView* FindDeepestVisibleView(const ServerView* view, | 17 const ServerView* FindDeepestVisibleView(const ServerView* view, |
18 const gfx::Point& location); | 18 const gfx::Point& location); |
19 ServerView* FindDeepestVisibleView(ServerView* view, | 19 ServerView* FindDeepestVisibleView(ServerView* view, |
20 const gfx::Point& location); | 20 const gfx::Point& location); |
21 | 21 |
22 } // namespace mus | 22 } // namespace view_manager |
23 | 23 |
24 #endif // COMPONENTS_MUS_VIEW_LOCATOR_H_ | 24 #endif // COMPONENTS_MUS_VIEW_LOCATOR_H_ |
OLD | NEW |