blob: 72341494f68068bd3261cb4a0e4b595c216c7af0 [file] [log] [blame]
// Copyright 2014 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 CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_
#define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_
#include "extensions/browser/guest_view/extension_options/extension_options_guest_delegate.h"
#include "base/macros.h"
namespace extensions {
class ExtensionOptionsGuest;
class ChromeExtensionOptionsGuestDelegate
: public ExtensionOptionsGuestDelegate {
public:
explicit ChromeExtensionOptionsGuestDelegate(ExtensionOptionsGuest* guest);
~ChromeExtensionOptionsGuestDelegate() override;
void DidInitialize() override;
bool HandleContextMenu(const content::ContextMenuParams& params) override;
content::WebContents* OpenURLInNewTab(
const content::OpenURLParams& params) override;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeExtensionOptionsGuestDelegate);
};
} // namespace extensions
#endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_CHROME_EXTENSION_OPTIONS_GUEST_DELEGATE_H_