#include "chrome/browser/ui/views/accessibility/accessibility_focus_highlight.h"
#include <math.h>
#include "base/files/file_util.h"
#include "base/path_service.h"
#include "base/test/test_future.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "cc/test/pixel_comparator.h"
#include "cc/test/pixel_test_utils.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/ui_test_utils.h"
#include "components/viz/common/frame_sinks/copy_output_request.h"
#include "components/viz/common/frame_sinks/copy_output_result.h"
#include "content/public/browser/focused_node_details.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/focus_changed_observer.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/compositor/layer.h"
#include "ui/gfx/image/image.h"
#include "ui/snapshot/snapshot.h"
#include "ui/views/widget/widget.h"
#if BUILDFLAG(IS_MAC)
#include "base/mac/mac_util.h"
#endif
class AccessibilityFocusHighlightBrowserTest : public InProcessBrowserTest { … };
IN_PROC_BROWSER_TEST_F(AccessibilityFocusHighlightBrowserTest,
DISABLED_DrawsHighlight) { … }
IN_PROC_BROWSER_TEST_F(AccessibilityFocusHighlightBrowserTest,
FocusBoundsIncludeImages) { … }
class ReadbackHolder : public base::RefCountedThreadSafe<ReadbackHolder> { … };
const cc::ExactPixelComparator pixel_comparator;
#if BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_MAC)
#define MAYBE_FocusAppearance …
#else
#define MAYBE_FocusAppearance …
#endif
IN_PROC_BROWSER_TEST_F(AccessibilityFocusHighlightBrowserTest,
MAYBE_FocusAppearance) { … }