Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: extensions/browser/guest_view/app_view/app_view_guest_delegate.h

Issue 820583002: Adds support for media permission request handling on <appview> tag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn build Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/guest_view/app_view/app_view_guest.cc ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « extensions/browser/guest_view/app_view/app_view_guest.cc ('k') | extensions/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698