#include "ui/accessibility/platform/inspect/ax_inspect_scenario.h"
#include "base/containers/fixed_flat_map.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/threading/thread_restrictions.h"
#include "ui/accessibility/platform/inspect/ax_inspect.h"
#include "ui/accessibility/platform/inspect/ax_script_instruction.h"
namespace ui {
AXInspectScenario::AXInspectScenario(
const std::vector<AXPropertyFilter>& default_filters)
: … { … }
AXInspectScenario::AXInspectScenario(AXInspectScenario&&) = default;
AXInspectScenario::~AXInspectScenario() = default;
AXInspectScenario& AXInspectScenario::operator=(AXInspectScenario&&) = default;
std::optional<AXInspectScenario> AXInspectScenario::From(
const std::string& directive_prefix,
const base::FilePath& scenario_path,
const std::vector<AXPropertyFilter>& default_filters) { … }
AXInspectScenario AXInspectScenario::From(
const std::string& directive_prefix,
const std::vector<std::string>& lines,
const std::vector<AXPropertyFilter>& default_filters) { … }
AXInspectScenario::Directive AXInspectScenario::ParseDirective(
const std::string& directive_prefix,
std::string_view directive) { … }
void AXInspectScenario::ProcessDirective(Directive directive,
std::string_view value) { … }
}