chromium/ui/views/interaction/widget_focus_observer.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/interaction/widget_focus_observer.h"

#include <iterator>

#include "base/functional/bind.h"
#include "base/logging.h"

namespace views::test {

namespace internal {

namespace {
WidgetFocusSupplierFrame* g_current_supplier_frame =;
}

WidgetFocusSupplier::WidgetFocusSupplier() = default;
WidgetFocusSupplier::~WidgetFocusSupplier() = default;

base::CallbackListSubscription
WidgetFocusSupplier::AddWidgetFocusChangedCallback(
    WidgetFocusChangedCallback callback) {}

void WidgetFocusSupplier::OnWidgetFocusChanged(gfx::NativeView focused_now) {}

WidgetFocusSupplierFrame::WidgetFocusSupplierFrame() {}

WidgetFocusSupplierFrame::~WidgetFocusSupplierFrame() {}

Widget* WidgetFocusSupplierFrame::GetActiveWidget() {}

// static
WidgetFocusSupplierFrame* WidgetFocusSupplierFrame::GetCurrentFrame() {}

}  // namespace internal

WidgetFocusObserver::WidgetFocusObserver() {}
WidgetFocusObserver::~WidgetFocusObserver() = default;

gfx::NativeView WidgetFocusObserver::GetStateObserverInitialState() const {}

void WidgetFocusObserver::OnWidgetFocusChanged(gfx::NativeView focused_now) {}

DEFINE_STATE_IDENTIFIER_VALUE();

}  // namespace views::test