chromium/ui/views/controls/image_view_base.cc

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

#include "ui/views/controls/image_view_base.h"

#include <utility>

#include "base/i18n/rtl.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/views/accessibility/view_accessibility.h"

namespace views {

ImageViewBase::ImageViewBase() {}

ImageViewBase::~ImageViewBase() = default;

void ImageViewBase::SetImageSize(const gfx::Size& image_size) {}

gfx::Rect ImageViewBase::GetImageBounds() const {}

void ImageViewBase::ResetImageSize() {}

void ImageViewBase::SetHorizontalAlignment(Alignment alignment) {}

ImageViewBase::Alignment ImageViewBase::GetHorizontalAlignment() const {}

void ImageViewBase::SetVerticalAlignment(Alignment alignment) {}

ImageViewBase::Alignment ImageViewBase::GetVerticalAlignment() const {}

void ImageViewBase::SetTooltipText(const std::u16string& tooltip) {}

const std::u16string& ImageViewBase::GetTooltipText() const {}

void ImageViewBase::AdjustAccessibleName(std::u16string& new_name,
                                         ax::mojom::NameFrom& name_from) {}

std::u16string ImageViewBase::GetTooltipText(const gfx::Point& p) const {}

gfx::Size ImageViewBase::CalculatePreferredSize(
    const SizeBounds& /*available_size*/) const {}

views::PaintInfo::ScaleType ImageViewBase::GetPaintScaleType() const {}

void ImageViewBase::OnBoundsChanged(const gfx::Rect& previous_bounds) {}

void ImageViewBase::UpdateImageOrigin() {}

void ImageViewBase::PreferredSizeChanged() {}

BEGIN_METADATA()

}  // namespace views

DEFINE_ENUM_CONVERTERS()