#include "ui/accessibility/tree_generator.h"
#include "ui/accessibility/ax_serializable_tree.h"
#include "ui/accessibility/ax_tree.h"
#include "ui/accessibility/ax_tree_data.h"
#include "ui/accessibility/ax_tree_id.h"
namespace ui {
TreeGenerator::TreeGenerator(int max_node_count, bool permutations)
: … { … }
TreeGenerator::~TreeGenerator() = default;
int TreeGenerator::UniqueTreeCount() const { … }
void TreeGenerator::BuildUniqueTree(int tree_index, AXTree* out_tree) const { … }
int TreeGenerator::IgnoredPermutationCountPerUniqueTree(int tree_index) const { … }
void TreeGenerator::BuildUniqueTreeWithIgnoredNodes(
int tree_index,
int ignored_index,
std::optional<int> focused_node,
AXTree* out_tree) const { … }
void TreeGenerator::BuildUniqueTreeUpdate(int tree_index,
AXTreeUpdate* out_update) const { … }
void TreeGenerator::BuildUniqueTreeUpdateWithSize(
int node_count,
int tree_index,
AXTreeUpdate* out_update) const { … }
}