Index: chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h |
diff --git a/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h b/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1176c66416cb893ba7ba39a29da2bdd8a0ea5407 |
--- /dev/null |
+++ b/chrome/browser/guest_view/app_view/chrome_app_view_guest_delegate.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// 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_ |
+ |
+#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 { |
+ public: |
+ ChromeAppViewGuestDelegate(); |
+ virtual ~ChromeAppViewGuestDelegate(); |
+ |
+ virtual bool HandleContextMenu( |
Xi Han
2014/08/18 21:29:11
To make the naming consistent with web_view, how a
|
+ content::WebContents* web_contents, |
+ const content::ContextMenuParams& params) OVERRIDE; |
+ virtual const Extension* GetExtensionById( |
Xi Han
2014/08/18 21:29:11
Please remove this function. See comments in app_v
|
+ content::BrowserContext* context, |
+ const std::string& id, |
+ bool include_disabled) const OVERRIDE; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(ChromeAppViewGuestDelegate); |
+}; |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_GUEST_VIEW_APP_VIEW_CHROME_APP_VIEW_GUEST_DELEGATE_H_ |