#include "chrome/browser/ui/views/file_system_access/file_system_access_scroll_panel.h"
#include "base/files/file_path.h"
#include "chrome/browser/ui/color/chrome_color_id.h"
#include "chrome/browser/ui/file_system_access/file_system_access_ui_helpers.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/compositor/layer.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
#include "ui/views/controls/scroll_view.h"
#include "ui/views/layout/box_layout.h"
namespace {
constexpr int kFolderIconSize = …;
constexpr int kFilenameAreaMargin = …;
constexpr int kBetweenFilenameSpacing = …;
constexpr int kMaxFilenamesInViewPort = …;
constexpr float kCornerRadius = …;
}
std::unique_ptr<views::ScrollView> FileSystemAccessScrollPanel::Create(
const std::vector<base::FilePath>& file_paths) { … }