#include "ui/webui/examples/browser/ui/web/web_view.h"
#include "base/notreached.h"
#include "content/public/browser/site_instance.h"
#include "content/public/browser/storage_partition_config.h"
#include "content/public/browser/web_contents.h"
namespace webui_examples {
WebView::~WebView() = default;
std::unique_ptr<guest_view::GuestViewBase> WebView::Create(
content::RenderFrameHost* owner_render_frame_host) { … }
WebView::WebView(PassKey pass_key,
content::RenderFrameHost* owner_render_frame_host)
: … { … }
const char* WebView::GetAPINamespace() const { … }
int WebView::GetTaskPrefix() const { … }
void WebView::CreateWebContents(std::unique_ptr<GuestViewBase> owned_this,
const base::Value::Dict& create_params,
WebContentsCreatedCallback callback) { … }
void WebView::MaybeRecreateGuestContents(
content::RenderFrameHost* outer_contents_frame) { … }
bool WebView::HandleContextMenu(content::RenderFrameHost& render_frame_host,
const content::ContextMenuParams& params) { … }
}