chromium/tools/accessibility/inspect/ax_utils.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "tools/accessibility/inspect/ax_utils.h"

#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "build/build_config.h"

char kActiveTabSwitch[] =;
char kChromeSwitch[] =;
char kChromiumSwitch[] =;
char kFirefoxSwitch[] =;
char kEdgeSwitch[] =;
char kPatternSwitch[] =;
char kSafariSwitch[] =;

char kFiltersSwitch[] =;

#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_MAC)
char kIdSwitch[] =;
#else
char kIdSwitch[] = "window";
#endif  // defined(WINDOWS)

AXTreeSelector;

gfx::AcceleratedWidget CastToAcceleratedWidget(unsigned int window_id) {}

// Convert from string to int, whether in 0x hex format or decimal format.
bool StringToInt(std::string str, unsigned* result) {}

namespace tools {

void PrintHelpShared() {}

void PrintHelpTreeSelectors() {}

void PrintHelpFilters() {}

void PrintHelpFooter() {}

std::optional<AXTreeSelector> TreeSelectorFromCommandLine(
    const base::CommandLine& command_line) {}

std::string DirectivePrefixFromAPIType(ui::AXApiType::Type api) {}

std::optional<ui::AXInspectScenario> ScenarioFromCommandLine(
    const base::CommandLine& command_line,
    ui::AXApiType::Type api) {}

}  // namespace tools