blob: 148e32ab7040629a95ef03570de5384e523f9703 [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_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
#define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
#include "base/macros.h"
#include "content/public/common/context_menu_params.h"
#include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h"
namespace extensions {
class ChromeAppViewGuestDelegate : public AppViewGuestDelegate {
public:
ChromeAppViewGuestDelegate();
~ChromeAppViewGuestDelegate() override;
// AppViewGuestDelegate:
bool HandleContextMenu(content::WebContents* web_contents,
const content::ContextMenuParams& params) override;
AppDelegate* CreateAppDelegate() override;
private:
DISALLOW_COPY_AND_ASSIGN(ChromeAppViewGuestDelegate);
};
} // namespace extensions
#endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_