#include "chrome/browser/ui/views/media_preview/scroll_media_preview.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/media_preview/media_view.h"
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/geometry/rounded_corners_f.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"
#include "ui/views/view.h"
#include "ui/views/view_class_properties.h"
namespace scroll_media_preview {
namespace {
constexpr int kMaxScrollViewHeight = …;
class ScrollViewAndObserver : public views::ScrollView,
public views::ViewObserver { … };
BEGIN_METADATA(…)
}
views::View* CreateScrollViewAndGetContents(views::View& parent_view,
std::optional<size_t> index) { … }
}