| Index: extensions/browser/guest_view/app_view/app_view_guest_delegate.h
|
| diff --git a/extensions/browser/guest_view/app_view/app_view_guest_delegate.h b/extensions/browser/guest_view/app_view/app_view_guest_delegate.h
|
| index 080c10ec261edbd1321bc849390381a6afac707b..01e90dde5f41d097556e2b1b56612c2efbf43683 100644
|
| --- a/extensions/browser/guest_view/app_view/app_view_guest_delegate.h
|
| +++ b/extensions/browser/guest_view/app_view/app_view_guest_delegate.h
|
| @@ -11,6 +11,8 @@ class WebContents;
|
| }
|
|
|
| namespace extensions {
|
| +class AppDelegate;
|
| +
|
| // Interface to handle communication between AppView (in extensions) with the
|
| // browser.
|
| class AppViewGuestDelegate {
|
| @@ -21,6 +23,9 @@ class AppViewGuestDelegate {
|
| // Returns true if the context menu was handled.
|
| virtual bool HandleContextMenu(content::WebContents* web_contents,
|
| const content::ContextMenuParams& params) = 0;
|
| +
|
| + // Returns an AppDelegate to be used by the AppViewGuest.
|
| + virtual AppDelegate* CreateAppDelegate() = 0;
|
| };
|
|
|
| } // namespace extensions
|
|
|