#include "ui/views/controls/image_view.h"
#include <memory>
#include <string>
#include <utility>
#include "base/i18n/rtl.h"
#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/views/accessibility/view_accessibility.h"
#include "ui/views/border.h"
#include "ui/views/layout/box_layout.h"
#include "ui/views/test/ax_event_counter.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/test/views_test_utils.h"
#include "ui/views/widget/widget.h"
namespace {
enum class Axis { … };
void SetRTL(bool rtl) { … }
}
namespace views {
class ImageViewTest : public ViewsTestBase,
public ::testing::WithParamInterface<Axis> { … };
TEST_P(ImageViewTest, CenterAlignment) { … }
TEST_P(ImageViewTest, ImageOriginForCustomViewBounds) { … }
TEST_P(ImageViewTest, SetAccessibleNameNotifiesAccessibilityEvent) { … }
TEST_P(ImageViewTest, AccessibleNameFromTooltipText) { … }
INSTANTIATE_TEST_SUITE_P(…);
}