chromium/content/renderer/accessibility/annotations/ax_image_annotator_browsertest.cc

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

#include "content/renderer/accessibility/annotations/ax_image_annotator.h"

#include "base/test/scoped_feature_list.h"
#include "content/renderer/accessibility/annotations/ax_annotators_manager.h"
#include "content/renderer/accessibility/render_accessibility_impl_test.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_local_frame.h"

namespace content {

WebAXObject;
WebDocument;
ElementsAre;

class TestAXImageAnnotator : public AXImageAnnotator {};

class MockImageAnnotationService : public image_annotation::mojom::Annotator {};

class AXImageAnnotatorTest : public RenderAccessibilityImplTest {};

// TODO(crbug.com/1477047, fuchsia:132924): Reenable test on Fuchsia once
// post-lifecycle serialization is turned on.
#if BUILDFLAG(IS_FUCHSIA)
#define MAYBE_OnImageAdded
#else
#define MAYBE_OnImageAdded
#endif
TEST_F(AXImageAnnotatorTest, MAYBE_OnImageAdded) {}

TEST_F(AXImageAnnotatorTest, OnImageUpdated) {}

}  // namespace content