#include "base/strings/utf_string_conversions.h"
#include "base/task/sequenced_task_runner.h"
#include "build/build_config.h"
#include "chrome/browser/ui/aura/accessibility/automation_manager_aura.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "chrome/test/views/accessibility_checker.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/scoped_accessibility_mode_override.h"
#include "extensions/browser/api/automation_internal/automation_event_router_interface.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_mode.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/views/accessibility/ax_aura_obj_wrapper.h"
#include "ui/views/accessibility/ax_tree_source_views.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/button/radio_button.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/table/table_view.h"
#include "ui/views/controls/table/test_table_model.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/layout/flex_layout.h"
#include "ui/views/layout/flex_layout_types.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
#include "ui/views/widget/widget.h"
namespace {
void FindAllHostsOfWebContentsWithAXTreeID(
views::AXTreeSourceViews* tree,
views::AXAuraObjWrapper* node,
ui::AXTreeID target_ax_tree_id,
std::vector<views::AXAuraObjWrapper*>* web_hosts) { … }
ui::AXTreeID GetAXTreeIDFromRenderFrameHost(content::RenderFrameHost* rfh) { … }
class AutomationEventWaiter
: public extensions::AutomationEventRouterInterface { … };
ui::TableColumn TestTableColumn(int id, const std::string& title) { … }
}
AutomationManagerAuraBrowserTest;
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, WebAppearsOnce) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest,
TransientFocusChangesAreSuppressed) { … }
#if BUILDFLAG(IS_OZONE)
#define MAYBE_ScrollView …
#else
#define MAYBE_ScrollView …
#endif
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, MAYBE_ScrollView) { … }
#if BUILDFLAG(IS_OZONE)
#define MAYBE_TableView …
#else
#define MAYBE_TableView …
#endif
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, MAYBE_TableView) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, EventFromAction) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest,
ReenableDoesNotCauseCrash) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest,
AXActionHandlerRegistryUpdates) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, GetFocusOnChildTree) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest, ObservedOnEnable) { … }
IN_PROC_BROWSER_TEST_F(AutomationManagerAuraBrowserTest,
CallsWhenDisabledDoNotCrash) { … }