blob: f6077ba9c1eb273efe1f88e65c645407a1efcd14 [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/shell/browser/shell_web_view_guest_delegate.h"
namespace extensions {
ShellWebViewGuestDelegate::ShellWebViewGuestDelegate() = default;
ShellWebViewGuestDelegate::~ShellWebViewGuestDelegate() = default;
bool ShellWebViewGuestDelegate::HandleContextMenu(
content::RenderFrameHost& render_frame_host,
const content::ContextMenuParams& params) {
// Eat the context menu request, as AppShell doesn't show context menus.
return true;
}
void ShellWebViewGuestDelegate::OnShowContextMenu(int request_id) {}
} // namespace extensions