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_ |