blob: d82978b31f62e45b090cee69b7520b2fffa62dd9 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_WEB_VIEW_GUEST_DELEGATE_H_
#define EXTENSIONS_SHELL_BROWSER_SHELL_WEB_VIEW_GUEST_DELEGATE_H_
#include "base/macros.h"
#include "extensions/browser/guest_view/web_view/web_view_guest_delegate.h"
namespace extensions {
class ShellWebViewGuestDelegate : public WebViewGuestDelegate {
public:
ShellWebViewGuestDelegate();
ShellWebViewGuestDelegate(const ShellWebViewGuestDelegate&) = delete;
ShellWebViewGuestDelegate& operator=(const ShellWebViewGuestDelegate&) =
delete;
~ShellWebViewGuestDelegate() override;
// WebViewGuestDelegate:
bool HandleContextMenu(const content::ContextMenuParams& params) override;
void OnShowContextMenu(int request_id) override;
};
} // namespace extensions
#endif // EXTENSIONS_SHELL_BROWSER_SHELL_WEB_VIEW_GUEST_DELEGATE_H_