#include "ui/views/interaction/view_focus_observer.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/widget/widget.h"
namespace views::test {
ViewFocusObserverBase::ViewFocusObserverBase(Widget* widget)
: … { … }
ViewFocusObserverBase::~ViewFocusObserverBase() { … }
View* ViewFocusObserverBase::GetFocusedView() const { … }
void ViewFocusObserverBase::OnWillChangeFocus(View* from, View* to) { … }
void ViewFocusObserverBase::OnDidChangeFocus(View* from, View* to) { … }
void ViewFocusObserverBase::OnWidgetDestroying(Widget* widget) { … }
ViewFocusObserverByView::ViewFocusObserverByView(Widget* widget)
: … { … }
View* ViewFocusObserverByView::GetStateObserverInitialState() const { … }
void ViewFocusObserverByView::OnFocusChanged(View* new_focused_view) { … }
ViewFocusObserverByIdentifier::ViewFocusObserverByIdentifier(Widget* widget)
: … { … }
ui::ElementIdentifier
ViewFocusObserverByIdentifier::GetStateObserverInitialState() const { … }
void ViewFocusObserverByIdentifier::OnFocusChanged(View* new_focused_view) { … }
DEFINE_STATE_IDENTIFIER_VALUE(…);
DEFINE_STATE_IDENTIFIER_VALUE(…);
}