#include "chrome/browser/ui/views/side_panel/companion_side_panel_web_view.h"
#include "chrome/browser/file_select_helper.h"
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "content/public/browser/file_select_listener.h"
#include "ui/base/metadata/metadata_impl_macros.h"
SidePanelWebUIViewT_CompanionSidePanelUntrustedUI;
BEGIN_TEMPLATE_METADATA(…)
CompanionSidePanelWebView::CompanionSidePanelWebView(Profile* profile)
: … { … }
bool CompanionSidePanelWebView::HandleContextMenu(
content::RenderFrameHost& render_frame_host,
const content::ContextMenuParams& params) { … }
content::WebContents* CompanionSidePanelWebView::OpenURLFromTab(
content::WebContents* source,
const content::OpenURLParams& params,
base::OnceCallback<void(content::NavigationHandle&)>
navigation_handle_callback) { … }
void CompanionSidePanelWebView::RequestMediaAccessPermission(
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
content::MediaResponseCallback callback) { … }
void CompanionSidePanelWebView::RunFileChooser(
content::RenderFrameHost* render_frame_host,
scoped_refptr<content::FileSelectListener> listener,
const blink::mojom::FileChooserParams& params) { … }
CompanionSidePanelWebView::~CompanionSidePanelWebView() = default;
BEGIN_METADATA(…)