chromium/ui/views/test/focus_manager_test.cc

// Copyright 2014 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/test/focus_manager_test.h"

#include "base/memory/raw_ptr.h"
#include "base/ranges/algorithm.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/widget/widget.h"

namespace views {

////////////////////////////////////////////////////////////////////////////////
// FocusManagerTest

FocusManagerTest::FocusManagerTest() :{}

FocusManagerTest::~FocusManagerTest() = default;

FocusManager* FocusManagerTest::GetFocusManager() {}

void FocusManagerTest::SetUp() {}

void FocusManagerTest::TearDown() {}

View* FocusManagerTest::GetContentsView() {}

Widget* FocusManagerTest::GetWidget() {}

const Widget* FocusManagerTest::GetWidget() const {}

void FocusManagerTest::GetAccessiblePanes(std::vector<View*>* panes) {}

void FocusManagerTest::InitContentView() {}

void FocusManagerTest::AddFocusChangeListener(FocusChangeListener* listener) {}

void FocusManagerTest::RemoveFocusChangeListener(
    FocusChangeListener* listener) {}

void FocusManagerTest::AddWidgetFocusChangeListener(
    WidgetFocusChangeListener* listener) {}

void FocusManagerTest::RemoveWidgetFocusChangeListener(
    WidgetFocusChangeListener* listener) {}

void FocusManagerTest::SetAccessiblePanes(
    const std::vector<raw_ptr<View, VectorExperimental>>& panes) {}

////////////////////////////////////////////////////////////////////////////////
// TestFocusChangeListener

TestFocusChangeListener::TestFocusChangeListener() = default;

TestFocusChangeListener::~TestFocusChangeListener() = default;

void TestFocusChangeListener::OnWillChangeFocus(View* focused_before,
                                                View* focused_now) {}
void TestFocusChangeListener::OnDidChangeFocus(View* focused_before,
                                               View* focused_now) {}

void TestFocusChangeListener::ClearFocusChanges() {}

////////////////////////////////////////////////////////////////////////////////
// TestWidgetFocusChangeListener

TestWidgetFocusChangeListener::TestWidgetFocusChangeListener() = default;

TestWidgetFocusChangeListener::~TestWidgetFocusChangeListener() = default;

void TestWidgetFocusChangeListener::ClearFocusChanges() {}

void TestWidgetFocusChangeListener::OnNativeFocusChanged(
    gfx::NativeView focused_now) {}

}  // namespace views