blob: 45eb3365e95945757c1bd12234e486ec235e958f [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <set>
#include "ash/ash_export.h"
namespace aura {
class Window;
namespace gfx {
class Point;
namespace ash {
namespace wm {
// Finds the topmost visible window at |screen_point| with ignoring |ignore|. If
// |real_topmost| is not nullptr, it will be updated to the topmost visible
// window regardless of |ignore|.
ASH_EXPORT aura::Window* GetTopmostWindowAtPoint(
const gfx::Point& screen_point,
const std::set<aura::Window*>& ignore,
aura::Window** real_topmost);
} // namespace wm
} // namespace ash