Chromium Code Reviews| 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..de72dcddddb0151123ec906eeea7184a44e5a3c2 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 |
|
Fady Samuel
2014/12/19 11:21:51
Period at the end. Also might be useful to explain
lfg
2014/12/19 16:29:08
Done.
|
| + virtual AppDelegate* CreateAppDelegate() = 0; |
| }; |
| } // namespace extensions |