1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_
8 #include "content/public/common/context_menu_params.h"
9 #include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h"
11 namespace extensions
{
13 class ShellAppViewGuestDelegate
: public AppViewGuestDelegate
{
15 ShellAppViewGuestDelegate();
16 ~ShellAppViewGuestDelegate() override
;
18 // AppViewGuestDelegate:
19 bool HandleContextMenu(content::WebContents
* web_contents
,
20 const content::ContextMenuParams
& params
) override
;
21 AppDelegate
* CreateAppDelegate() override
;
24 DISALLOW_COPY_AND_ASSIGN(ShellAppViewGuestDelegate
);
27 } // namespace extensions
29 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_