#include "chrome/browser/ui/views/controls/subpage_view.h"
#include "chrome/browser/ui/layout_constants.h"
#include "chrome/browser/ui/views/chrome_layout_provider.h"
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "ui/base/interaction/element_identifier.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/base/ui_base_features.h"
#include "ui/views/bubble/bubble_frame_view.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/controls/button/image_button.h"
#include "ui/views/controls/button/image_button_factory.h"
#include "ui/views/controls/highlight_path_generator.h"
#include "ui/views/controls/separator.h"
#include "ui/views/layout/box_layout_view.h"
#include "ui/views/layout/flex_layout_view.h"
namespace {
constexpr int kSeparatorBottomMargin = …;
constexpr int kBackIconSize = …;
}
DEFINE_ELEMENT_IDENTIFIER_VALUE(kSubpageViewId);
DEFINE_ELEMENT_IDENTIFIER_VALUE(kSubpageBackButtonElementId);
SubpageView::SubpageView(views::Button::PressedCallback callback,
views::BubbleFrameView* bubble_frame_view)
: … { … }
SubpageView::~SubpageView() { … }
void SubpageView::SetTitle(const std::u16string& title) { … }
void SubpageView::SetUpSubpageTitle(views::Button::PressedCallback callback) { … }
void SubpageView::SetContentView(std::unique_ptr<views::View> content) { … }
void SubpageView::SetHeaderView(std::unique_ptr<views::View> header_view) { … }
void SubpageView::SetFootnoteView(std::unique_ptr<views::View> footnote_view) { … }
void SubpageView::OnViewIsDeleting(views::View* view) { … }
BEGIN_METADATA(…)