#include "chrome/browser/ui/views/side_panel/side_panel_web_ui_view.h"
#include "base/metrics/user_metrics.h"
#include "base/metrics/user_metrics_action.h"
#include "chrome/browser/extensions/api/bookmark_manager_private/bookmark_manager_private_api.h"
#include "chrome/browser/feature_engagement/tracker_factory.h"
#include "chrome/browser/ui/bookmarks/bookmark_utils.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/side_panel/side_panel_content_proxy.h"
#include "chrome/browser/ui/views/side_panel/side_panel_util.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/feature_engagement/public/tracker.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/controls/menu/menu_runner.h"
SidePanelWebUIView::SidePanelWebUIView(base::RepeatingClosure on_show_cb,
base::RepeatingClosure close_cb,
WebUIContentsWrapper* contents_wrapper)
: … { … }
SidePanelWebUIView::~SidePanelWebUIView() = default;
void SidePanelWebUIView::ViewHierarchyChanged(
const views::ViewHierarchyChangedDetails& details) { … }
void SidePanelWebUIView::ShowUI() { … }
void SidePanelWebUIView::CloseUI() { … }
void SidePanelWebUIView::ShowCustomContextMenu(
gfx::Point point,
std::unique_ptr<ui::MenuModel> menu_model) { … }
void SidePanelWebUIView::HideCustomContextMenu() { … }
bool SidePanelWebUIView::HandleKeyboardEvent(
content::WebContents* source,
const input::NativeWebKeyboardEvent& event) { … }
BEGIN_METADATA(…)