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

Unified Diff: extensions/shell/browser/shell_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/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_view_guest_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/shell/browser/shell_app_view_guest_delegate.h
diff --git a/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h b/extensions/shell/browser/shell_app_view_guest_delegate.h
similarity index 52%
copy from chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h
copy to extensions/shell/browser/shell_app_view_guest_delegate.h
index 0350c7d468a1251fe3981fefd347a97aa51d4575..ea3e3b667c75ad1c616269238f3de765132186fa 100644
--- a/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h
+++ b/extensions/shell/browser/shell_app_view_guest_delegate.h
@@ -2,26 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
-#define CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
+#ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_
+#define EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_
#include "content/public/common/context_menu_params.h"
#include "extensions/browser/guest_view/app_view/app_view_guest_delegate.h"
namespace extensions {
-class ChromeAppViewGuestDelegate : public AppViewGuestDelegate {
+class ShellAppViewGuestDelegate : public AppViewGuestDelegate {
public:
- ChromeAppViewGuestDelegate();
- ~ChromeAppViewGuestDelegate() override;
+ ShellAppViewGuestDelegate();
+ ~ShellAppViewGuestDelegate() override;
+ // AppViewGuestDelegate:
bool HandleContextMenu(content::WebContents* web_contents,
const content::ContextMenuParams& params) override;
+ AppDelegate* CreateAppDelegate() override;
private:
- DISALLOW_COPY_AND_ASSIGN(ChromeAppViewGuestDelegate);
+ DISALLOW_COPY_AND_ASSIGN(ShellAppViewGuestDelegate);
};
} // namespace extensions
-#endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_
+#endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_VIEW_GUEST_DELEGATE_H_
« no previous file with comments | « extensions/shell/app_shell.gyp ('k') | extensions/shell/browser/shell_app_view_guest_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698