chromium/ui/views/accessible_pane_view.cc

// Copyright 2012 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/accessible_pane_view.h"

#include <memory>

#include "base/memory/raw_ptr.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/focus/focus_search.h"
#include "ui/views/view_tracker.h"
#include "ui/views/widget/widget.h"

namespace views {

// Create tiny subclass of FocusSearch that overrides GetParent and Contains,
// delegating these to methods in AccessiblePaneView. This is needed so that
// subclasses of AccessiblePaneView can customize the focus search logic and
// include views that aren't part of the AccessiblePaneView's view
// hierarchy in the focus order.
class AccessiblePaneViewFocusSearch : public FocusSearch {};

AccessiblePaneView::AccessiblePaneView()
    :{}

AccessiblePaneView::~AccessiblePaneView() {}

bool AccessiblePaneView::SetPaneFocus(views::View* initial_focus) {}

bool AccessiblePaneView::SetPaneFocusAndFocusDefault() {}

views::View* AccessiblePaneView::GetDefaultFocusableChild() {}

View* AccessiblePaneView::GetParentForFocusSearch(View* v) {}

bool AccessiblePaneView::ContainsForFocusSearch(View* root, const View* v) {}

void AccessiblePaneView::RemovePaneFocus() {}

views::View* AccessiblePaneView::GetFirstFocusableChild() {}

views::View* AccessiblePaneView::GetLastFocusableChild() {}

////////////////////////////////////////////////////////////////////////////////
// View overrides:

views::FocusTraversable* AccessiblePaneView::GetPaneFocusTraversable() {}

bool AccessiblePaneView::AcceleratorPressed(
    const ui::Accelerator& accelerator) {}

void AccessiblePaneView::SetVisible(bool flag) {}

void AccessiblePaneView::RequestFocus() {}

////////////////////////////////////////////////////////////////////////////////
// FocusChangeListener overrides:

void AccessiblePaneView::OnWillChangeFocus(views::View* focused_before,
                                           views::View* focused_now) {}

void AccessiblePaneView::OnDidChangeFocus(views::View* focused_before,
                                          views::View* focused_now) {}

////////////////////////////////////////////////////////////////////////////////
// FocusTraversable overrides:

views::FocusSearch* AccessiblePaneView::GetFocusSearch() {}

views::FocusTraversable* AccessiblePaneView::GetFocusTraversableParent() {}

views::View* AccessiblePaneView::GetFocusTraversableParentView() {}

BEGIN_METADATA()

}  // namespace views