#include "ui/views/test/ax_event_counter.h"
#include <utility>
#include "ui/accessibility/ax_node_data.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/view.h"
namespace views::test {
AXEventCounter::AXEventCounter(views::AXEventManager* event_manager) { … }
AXEventCounter::~AXEventCounter() = default;
void AXEventCounter::OnViewEvent(views::View* view,
ax::mojom::Event event_type) { … }
int AXEventCounter::GetCount(ax::mojom::Event event_type) const { … }
int AXEventCounter::GetCount(ax::mojom::Event event_type,
ax::mojom::Role role) const { … }
int AXEventCounter::GetCount(ax::mojom::Event event_type,
views::View* view) const { … }
void AXEventCounter::ResetAllCounts() { … }
void AXEventCounter::WaitForEvent(ax::mojom::Event event_type) { … }
}