#include "chrome/browser/ui/lens/lens_overlay_side_panel_web_view.h"
#include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/lens/lens_overlay_controller.h"
#include "chrome/browser/ui/lens/lens_overlay_event_handler.h"
#include "chrome/browser/ui/lens/lens_overlay_side_panel_coordinator.h"
#include "chrome/browser/ui/lens/lens_untrusted_ui.h"
#include "chrome/common/webui_url_constants.h"
#include "chrome/grit/generated_resources.h"
#include "components/input/native_web_keyboard_event.h"
#include "content/public/browser/file_select_listener.h"
#include "ui/base/metadata/metadata_impl_macros.h"
SidePanelWebUIViewT_LensUntrustedUI;
BEGIN_TEMPLATE_METADATA(…)
namespace {
}
LensOverlaySidePanelWebView::LensOverlaySidePanelWebView(
content::BrowserContext* browser_context,
lens::LensOverlaySidePanelCoordinator* coordinator)
: … { … }
LensOverlaySidePanelWebView::~LensOverlaySidePanelWebView() { … }
void LensOverlaySidePanelWebView::ClearCoordinator() { … }
bool LensOverlaySidePanelWebView::HandleContextMenu(
content::RenderFrameHost& render_frame_host,
const content::ContextMenuParams& params) { … }
content::WebContents* LensOverlaySidePanelWebView::OpenURLFromTab(
content::WebContents* source,
const content::OpenURLParams& params,
base::OnceCallback<void(content::NavigationHandle&)>
navigation_handle_callback) { … }
bool LensOverlaySidePanelWebView::HandleKeyboardEvent(
content::WebContents* source,
const input::NativeWebKeyboardEvent& event) { … }
void LensOverlaySidePanelWebView::RequestMediaAccessPermission(
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
content::MediaResponseCallback callback) { … }
BEGIN_METADATA(…)