#include "chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h"
#include <memory>
#include <utility>
#include "build/build_config.h"
#include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
#include "chrome/browser/favicon/favicon_utils.h"
#include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
#include "components/guest_view/browser/guest_view_event.h"
#include "components/renderer_context_menu/context_menu_delegate.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/render_widget_host_view.h"
#include "extensions/browser/api/web_request/web_request_api.h"
#include "extensions/browser/guest_view/web_view/web_view_constants.h"
GuestViewEvent;
namespace extensions {
namespace {
base::Value::List MenuModelToValue(const ui::SimpleMenuModel& menu_model) { … }
}
ChromeWebViewGuestDelegate::ChromeWebViewGuestDelegate(
WebViewGuest* web_view_guest)
: … { … }
ChromeWebViewGuestDelegate::~ChromeWebViewGuestDelegate() { … }
bool ChromeWebViewGuestDelegate::HandleContextMenu(
content::RenderFrameHost& render_frame_host,
const content::ContextMenuParams& params) { … }
void ChromeWebViewGuestDelegate::OnShowContextMenu(int request_id) { … }
}