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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_VIEW_MANAGER_VIEW_LOCATOR_H_
6 #define COMPONENTS_VIEW_MANAGER_VIEW_LOCATOR_H_
12 namespace view_manager
{
16 // Finds the deepest visible view that contains the specified location.
17 const ServerView
* FindDeepestVisibleView(const ServerView
* view
,
18 const gfx::Point
& location
);
19 ServerView
* FindDeepestVisibleView(ServerView
* view
,
20 const gfx::Point
& location
);
22 } // namespace view_manager
24 #endif // COMPONENTS_VIEW_MANAGER_VIEW_LOCATOR_H_