#include "chrome/browser/ui/views/download/bubble/download_bubble_row_list_view.h"
#include "base/containers/contains.h"
#include "chrome/browser/download/bubble/download_bubble_ui_controller.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "chrome/browser/ui/views/download/bubble/download_bubble_row_view.h"
#include "components/offline_items_collection/core/offline_item.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/controls/scroll_view.h"
ContentId;
DownloadBubbleRowListView::DownloadBubbleRowListView(
base::WeakPtr<Browser> browser,
base::WeakPtr<DownloadBubbleUIController> bubble_controller,
base::WeakPtr<DownloadBubbleNavigationHandler> navigation_handler,
int fixed_width,
const DownloadBubbleRowListViewInfo& info,
bool is_in_partial_view)
: … { … }
DownloadBubbleRowListView::~DownloadBubbleRowListView() { … }
void DownloadBubbleRowListView::AddRow(
const DownloadBubbleRowViewInfo& row_info) { … }
std::unique_ptr<DownloadBubbleRowView> DownloadBubbleRowListView::RemoveRow(
DownloadBubbleRowView* row) { … }
DownloadBubbleRowView* DownloadBubbleRowListView::GetRow(
const offline_items_collection::ContentId& id) const { … }
size_t DownloadBubbleRowListView::NumRows() const { … }
void DownloadBubbleRowListView::OnRowAdded(
const offline_items_collection::ContentId& id) { … }
void DownloadBubbleRowListView::OnRowWillBeRemoved(
const offline_items_collection::ContentId& id) { … }
BEGIN_METADATA(…)