chromium/chrome/browser/ui/views/side_panel/side_panel_entry.cc

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

#include "chrome/browser/ui/views/side_panel/side_panel_entry.h"

#include "base/observer_list.h"
#include "base/time/time.h"
#include "chrome/browser/ui/views/side_panel/side_panel_entry_observer.h"
#include "chrome/browser/ui/views/side_panel/side_panel_enums.h"
#include "chrome/browser/ui/views/side_panel/side_panel_util.h"

DEFINE_UI_CLASS_PROPERTY_KEY()

SidePanelEntry::SidePanelEntry(
    Id id,
    base::RepeatingCallback<std::unique_ptr<views::View>()>
        create_content_callback,
    std::optional<base::RepeatingCallback<GURL()>> open_in_new_tab_url_callback,
    std::optional<base::RepeatingCallback<std::unique_ptr<ui::MenuModel>()>>
        more_info_callback)
    :{}

SidePanelEntry::SidePanelEntry(
    Key key,
    base::RepeatingCallback<std::unique_ptr<views::View>()>
        create_content_callback)
    :{}

SidePanelEntry::~SidePanelEntry() = default;

std::unique_ptr<views::View> SidePanelEntry::GetContent() {}

void SidePanelEntry::CacheView(std::unique_ptr<views::View> view) {}

void SidePanelEntry::ClearCachedView() {}

void SidePanelEntry::OnEntryShown() {}

void SidePanelEntry::OnEntryWillHide(SidePanelEntryHideReason reason) {}

void SidePanelEntry::OnEntryHidden() {}

void SidePanelEntry::AddObserver(SidePanelEntryObserver* observer) {}

void SidePanelEntry::RemoveObserver(SidePanelEntryObserver* observer) {}

GURL SidePanelEntry::GetOpenInNewTabURL() const {}

std::unique_ptr<ui::MenuModel> SidePanelEntry::GetMoreInfoMenuModel() const {}

bool SidePanelEntry::SupportsNewTabButton() {}

bool SidePanelEntry::SupportsMoreInfoButton() {}

void SidePanelEntry::ResetLoadTimestamp() {}