#include "ui/views/accessible_pane_view.h"
#include <memory>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "ui/base/accelerators/accelerator.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/widget/widget.h"
namespace views {
AccessiblePaneViewTest;
class TestBarView : public AccessiblePaneView { … };
TestBarView::TestBarView()
: … { … }
TestBarView::~TestBarView() = default;
void TestBarView::Init() { … }
View* TestBarView::GetDefaultFocusableChild() { … }
BEGIN_METADATA(…)
TEST_F(AccessiblePaneViewTest, SimpleSetPaneFocus) { … }
TEST_F(AccessiblePaneViewTest, SetPaneFocusAndRestore) { … }
TEST_F(AccessiblePaneViewTest, TwoSetPaneFocus) { … }
TEST_F(AccessiblePaneViewTest, PaneFocusTraversal) { … }
#if defined(ADDRESS_SANITIZER) && defined(LEAK_SANITIZER)
#define MAYBE_DoesntCrashOnEscapeWithRemovedView …
#else
#define MAYBE_DoesntCrashOnEscapeWithRemovedView …
#endif
TEST_F(AccessiblePaneViewTest, MAYBE_DoesntCrashOnEscapeWithRemovedView) { … }
TEST_F(AccessiblePaneViewTest, AccessibleProperties) { … }
}