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 CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
6 #define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_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 ChromeAppViewGuestDelegate
: public AppViewGuestDelegate
{
15 ChromeAppViewGuestDelegate();
16 ~ChromeAppViewGuestDelegate() 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(ChromeAppViewGuestDelegate
);
27 } // namespace extensions
29 #endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_