#include "ui/views/widget/desktop_aura/desktop_focus_rules.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/wm/core/window_util.h"
namespace views {
DesktopFocusRules::DesktopFocusRules(aura::Window* content_window)
: … { … }
DesktopFocusRules::~DesktopFocusRules() = default;
bool DesktopFocusRules::CanActivateWindow(const aura::Window* window) const { … }
bool DesktopFocusRules::CanFocusWindow(const aura::Window* window,
const ui::Event* event) const { … }
bool DesktopFocusRules::SupportsChildActivation(
const aura::Window* window) const { … }
bool DesktopFocusRules::IsWindowConsideredVisibleForActivation(
const aura::Window* window) const { … }
const aura::Window* DesktopFocusRules::GetToplevelWindow(
const aura::Window* window) const { … }
aura::Window* DesktopFocusRules::GetNextActivatableWindow(
aura::Window* window) const { … }
}